Android: don't download Launcher - launch my app instead of launching

I created Android from the source code and would like to run directly in my application and DO NOT launch Launcher at all. Does anyone know what to change to run the applicable .apk instead of Launcher on boot?

Launching the launcher causes many problems with my disguise of the fact that Android is running. - Unlock screen - Status bar - Menu and home icons

It’s best to just not launch Launcher and go directly to the application with the Android boot logo.

Thanks Kevin

+4
source share
1 answer

There is a much simpler solution that allows you not to rebuild Android. Just fill in the main Activity your application (in AndroidManifest.xml ):

 <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.HOME" /> <category android:name="android.intent.category.DEFAULT" /> 

And after the first start, reboot the device and make the main Activity application on the default main screen (check the CheckBox at the bottom of the selection dialog).

+6
source

Source: https://habr.com/ru/post/1345146/


All Articles