Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
57 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
TODO: place your license here and we'll include it in the module distribution | ||
Copyright (c) 2013 Katsumi ISHIDA. All rights reserved. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
Place your license text here. This file will be incorporated with your app at package time. | ||
Copyright (c) 2013 Katsumi ISHIDA. All rights reserved. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,61 @@ | ||
# bootbroadcastreceiver Module | ||
# *BootBroadcastReceiver Module* | ||
|
||
## Description | ||
|
||
TODO: Enter your module description here | ||
*BootBroadcastReceiver Module* make your Titanium app launch when Android device boot and/or your app package replaced. | ||
|
||
## Accessing the bootbroadcastreceiver Module | ||
*BootBroadcastReceiver Module* receives "android.intent.action.BOOT_COMPLETED" and "android.intent.action.PACKAGE_REPLACED", and launch your Titanium app. | ||
|
||
To access this module from JavaScript, you would do the following: | ||
## Accessing the bootbroadcastreceiver Module | ||
|
||
*BootBroadcastReceiver Module* no neads creation of Object of Module like below: | ||
var bootbroadcastreceiver = require("jp.isisredirect.bootbroadcastreceiver"); | ||
|
||
The bootbroadcastreceiver variable is a reference to the Module object. | ||
You need only import module by <module> in tiapp.xml : | ||
|
||
## Reference | ||
<modules> | ||
<module platform="android" version="2.0">jp.isisredirect.bootbroadcastreceiver</module> | ||
</modules> | ||
|
||
## Requrement | ||
|
||
TODO: If your module has an API, you should document | ||
the reference here. | ||
Android min-sdk: Android 2.2 (API Level 8) | ||
Titanium 2.1.0.GA | ||
|
||
### ___PROJECTNAMEASIDENTIFIER__.function | ||
## Reference | ||
|
||
### module method | ||
|
||
TODO: This is an example of a module function. | ||
+ non | ||
|
||
### ___PROJECTNAMEASIDENTIFIER__.property | ||
### module property | ||
|
||
TODO: This is an example of a module property. | ||
+ non | ||
|
||
## Usage | ||
|
||
TODO: Enter your usage example here | ||
You need import module only. | ||
|
||
## Author | ||
|
||
TODO: Enter your author name, email and other contact | ||
details you want to share here. | ||
Kastumi ISHIDA (isis re-direct) in k.i.office. | ||
|
||
## License | ||
isis.redirect4@gmail.com | ||
|
||
TODO: Enter your license/legal information here. | ||
## License | ||
Copyright 2013 Katsumi ISHIDA. All rights reserved. | ||
|
||
This library is free software; you can redistribute it and/or | ||
modify it under the terms of the GNU Lesser General Public | ||
License as published by the Free Software Foundation; either | ||
version 2.1 of the License, or (at your option) any later version. | ||
|
||
This library is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
Lesser General Public License for more details. | ||
|
||
You should have received a copy of the GNU Lesser General Public | ||
License along with this library; if not, write to the Free Software | ||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
USA. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters