Customizing Android Home Screen

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Customizing Android Home Screen

Jump to solution
1,006 Views
deepika_t
Contributor IV

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

Tags (1)
0 Kudos
1 Solution
859 Views
deepika_t
Contributor IV

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

View solution in original post

0 Kudos
6 Replies
859 Views
art
NXP Employee
NXP Employee

Also, there are some reference materials on the Android Developer web site:

https://developer.android.com/training/basics/activity-lifecycle/index.html


Have a great day,
Artur

0 Kudos
859 Views
SergioSolis
NXP Employee
NXP Employee

Thank you for posting the solution, it will help enhance our knowledgebase!

0 Kudos
860 Views
deepika_t
Contributor IV

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

0 Kudos
859 Views
deepika_t
Contributor IV

Thanks Bisson for your reply.I will come back to you in case of any further queries

0 Kudos
859 Views
gary_bisson
Senior Contributor III

Hi Deepika,

No problem. Please let the community know if this solved your issue and close the thread in that case.

Regards,

Gary

0 Kudos
859 Views
gary_bisson
Senior Contributor III

Hi,

The proper way to do that is to make your application listening to the android.intent.category.HOME Intent.

Intent | Android Developers

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

0 Kudos