Playlist MyTV untuk smart TV berserta intisari rancangan bermula RM4.99 sebulan. Selanjutnya →

Android BOOT_COMPLETED handler module

Rabu, 1 April 2015, 9:58 am0

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>

Download from Github

Tulis komen: