Skip to content

mohammadibrahimtaani/app-start-on-bootup

 
 

Repository files navigation

How to use this JAR file in Unity project

Note: Regarding JAR file creation and usage, please refer to the Guideline

ModifyAndroidManifest

Add permission

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

ClassName

android:name = "com.Example.Bootcomplete.MainActivity"

Register system broadcast

<receiver android:name=".BootReceiver" >
            <intent-filter android:priority="1000">
                <action android:name="android.intent.action.BOOT_COMPLETED" />
            </intent-filter>
</receiver>

Note: it is required to run the application before next device boot-up

About

App Launch on System Boot-up

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%