The app is automatically started when the power is turned on

I want to automatically start the application I made when the device is turned on. Is there a way?

If possible, I would like to run it with an application within the range installed from the beginning.

  • I don’t want to add extra apps

Hi,
You can check out the following thread in stackoverflow:https://stackoverflow.com/questions/43976039/detect-when-android-device-is-turn-on-after-switch-off-position
[Edit: Link is broken, reformatted to not auto link]

You will need an application to do that. Run a search on playstore with ‘autostart’ and see if that helps.