Hi Everyone,
I am currently working on Sabre-AI running Android M. We need to customize Android so that only an application should be running on our android device all the time from boot to power down. I am looking for a way to launch our application when the device boots immediately without showing the home screen. Also RAM usage should be minimum.Can anyone suggest how to proceed further.
Thanks in Advance
Deepika
已解决! 转到解答。
Hi Gary ,
We are using the Intent method..Taken the Cross Reference: /development/samples/Home/ reference.
Still optimizations are going on. Thanks for your support.
Deepika
Hi,
The proper way to do that is to make your application listening to the android.intent.category.HOME Intent.
Here is an example with the sample Home application provided in the AOSP:
Cross Reference: /development/samples/Home/
Another example is the Launcher3, which also declares in its Android.mk that it replaces all the other available HOME at build time:
Cross Reference: /packages/apps/Launcher3/AndroidManifest.xml
Cross Reference: /packages/apps/Launcher3/Android.mk
Hope this helps.
Regards,
Gary