android - How do I set the default launcher in an AOSP build? -


i modifying aosp source code because app needs run in kiosk environment.

i want android boot directly app. i've excluded launcher2 generic_no_telephony.mk, , added app there. android prompts me time choose default launcher.

the 2 choices available on pop-up:

  1. home sample
  2. my app.

how can exclude android home sample launcher? or there way set default launcher in aosp build?

instead of modifying aosp make files (which annoying because need track changes) easier add local_overrides_packages line app's make file.

for instance:

local_overrides_packages := launcher2 launcher3 

added android.mk file ensure packages not added build package added.

following that, should a

make installclean 

and start build same way make build. make installclean important remove packages left behind previous build.

i found nice answer how in question, see: how make embedded android os 1 app?


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -