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:
- home sample
- 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
Post a Comment