Customizing Android Home Screen

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Customizing Android Home Screen

ソリューションへジャンプ
2,515件の閲覧回数
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 解決策
2,368件の閲覧回数
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 返答(返信)
2,368件の閲覧回数
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 件の賞賛
返信
2,368件の閲覧回数
SergioSolis
NXP Employee
NXP Employee

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

0 件の賞賛
返信
2,369件の閲覧回数
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 件の賞賛
返信
2,368件の閲覧回数
deepika_t
Contributor IV

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

0 件の賞賛
返信
2,368件の閲覧回数
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 件の賞賛
返信
2,368件の閲覧回数
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 件の賞賛
返信