How to download the application directly without launching the home screen

When the Android device is disconnected, is it possible to download one specific application without launching the main screen?

How to do it?

Where to change the code

Setting permission as boot_completed works, but before loading my application, the working screen is displayed for 5 seconds. How to disconnect android from showing any launch pad to my application

+5
source share
3 answers

This mode is called kiosk mode, and the android has the ability to run devices in kiosk mode, you can refer to this manual for a complete set up. Basically, what you are doing is set up for your application to listen to the RECEIVE_BOOT_COMPLETED broadcast and turn off all actions, such as button buttons, button buttons, back buttons, etc. Also remember to install an exit mechanism. Just follow the guide and everything will be fine.

+2
source

In your manifest:

 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> 

And add an Intent filter:

 <receiver android:name=".BootReciever"> <intent-filter > <action android:name="android.intent.action.BOOT_COMPLETED"/> </intent-filter> 

And then Now you can start your first application activity from the onReceive method of the Receiver class:

 /questions/169450/how-to-start-launch-application-at-boot-time-android 

For more information, you can check this url. How to launch / launch the application during Android boot

+1
source

if your device is embedded, delete the system applications on your device, but be careful that each application cannot be uninstalled. Install the "Root-Uninstaller-Pro-8.3" application and do it. You must remove important system applications one by one and at any time reboot the device to see the result before reaching the goal. if you uninstall the application that will launch your device, you must launch it in order to restore the applications and repeat the uninstall. With this uninstall, your boot time becomes too short and that 5 seconds will disappear. good luck!

0
source

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


All Articles