Skip to content Skip to sidebar Skip to footer

Execute Script On Boot Android Things

I am developing with raspberry pi3 on Android Things. I am trying to execute a Script on boot, modifying init.rc file as so: sys.boot_completed = 1: on property: sys.boot_complete

Solution 1:

With Android Things, you can set up your application so that it fits within the Android framework.

For example, if you use the HOME intent filter on your main activity in your app, then your activity will launch immediately on boot, allowing you to run some code.

Post a Comment for "Execute Script On Boot Android Things"