Hi how are things? I am working on an app under android-studio. I want to make an option in my application that says "start when the device is turned on", that the application itself checks if it starts when the device is turned on and auto-check the option, otherwise not, that when it works, how can they be given account, the application starts when android starts. How is this possible? I'm looking and I don't know how to do it thanks
I put this example code
You declare the following in your AndroidManifest:
Permission
Broadcast Receiver
Then you create your BroadCast Receiver
I leave you an example link in case you want: Perform action after restart