This 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>