I have created the Kiosk mode app launched automatically at Android startup.
In order to auto start the app I used BOOT_COMPLETED
service/broadcast.
But the app is started after 10-15 seconds from appearing HOME screen (Android).
This is not the state wanted by me. I want to will be started the app at same time to appear Home screen. So user can't any work without my app. This is my goal. My application is Device Owner app.
Is this possible? if so how? if not why?
You have to create an own home screen app called launcher. My manifest code is for launcher activity.
<activity android:name=".HomeActivity"
android:clearTaskOnLaunch="true"
android:stateNotNeeded="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
This HomeActivity should be the first activity that is displayed when the device boots.