Customizing Android Home Screen

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Customizing Android Home Screen

跳至解决方案
1,055 次查看
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

标记 (1)
0 项奖励
1 解答
908 次查看
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 项奖励
6 回复数
908 次查看
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 项奖励
908 次查看
SergioSolis
NXP Employee
NXP Employee

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

0 项奖励
909 次查看
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 项奖励
908 次查看
deepika_t
Contributor IV

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

0 项奖励
908 次查看
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 项奖励
908 次查看
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 项奖励