I've built Android from source and would like to launch directly into my application and NOT launch Launcher at all. Does anyone know what to change to launch an applicable .apk instead of Launcher on boot?
Running launcher causes a host of problems with my masking the fact Android is running. - The unlock screen - The status bar - The menu & home icons
It would be best simply not to launch Launcher and go directly into the application from the Android boot logo.
Thanks, Kevin
There is much easier solution that allows you not to rebuild Android. Just fill the main Activity
of your application (in AndroidManifest.xml
) with:
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />
And after first start, reboot your device and than make your application's main Activity
the default Home Screen (check the CheckBox
at the bottom of choose dialog).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With