Replace launcher app?


#1

Does anyone know if I can remove the default launcher app from the Dragonboard and replace it with our own app?
The app will go on a transparent screen, so I want to avoid showing the Android desktop.
I also want to prevent users from accessing Android and only use my app, after restart.


#2

Hi,

Would this link help?

http://android.stackexchange.com/questions/148161/how-to-set-home-launcher-in-android-n


#3

I am not sure if you would like to build your firmware from source or just replace Launcher in runtime. If you are looking to replace the Launcher in source, you can use LOCAL_PACKAGES_OVERRIDES := Launcher2 Launcher3

If you are looking to replace the Launcher in runtime, you can remove the existing Launcher APK and replace it with another. The Android OS does not look for a specific package name to be default launcher. Instead, it will use anything with the Launcher permissions in the application manifest. If there are multiple applications that fit this criteria, the OS will prompt you to decide which to use.