Android BOOT_COMPLETED handler module
On 1 April 2015 in TechThis Titanium Android module provide a place where you can run your JS script when the device receives BOOT_COMPLETED broadcast intent. By simply adding boot_completed.js
into your Resources folder, this JS file will be run when the broadcast intent received.
You may also changed the file to run by editing the tiapp.xml
<android> <manifest> <application> <receiver android:name="nc.bootcompleted.BootCompletedReceiver"> <meta-data android:name="boot_completed_js" android:value="lib/boot_completed_handler.js"/> <!-- Resources/lib/boot_completed_handler.js will be called instead --> </receiver> </application> </manifest> </android>
Related posts:
-
Object oriented Javascript with CommonJS in Titanium app
-
Android Lollipop Wallpapers
-
Efficient code
-
Google Play Store updated UI for Gingerbread
-
Webview evalJS return null in Android 4.2.2
-
Load nib file in Titanium module iOS
-
Titanium iOS builder script
-
Method calling thread for Titanium module (Android)
-
Titanium ListView
-
Titanium Studio mark occurences
Filed under Tech with tags Android, BOOT_COMPLETED, Broadcast intent, Broadcast receiver, Intent, Titanium Mobile, Titanium Module
Leave a Reply