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
source share