I'm writing an app for a specialized Android device that runs in a kiosk-like mode, i.e. my app will be the only app that runs, and must run upon startup.
Additionally, the app must launch only after the user has unlocked the device with a modified Android launcher.
I'm thinking about how to start the app in this case. Some thoughts:
Are there any other intuitive ways to do what I've described?
Instead of starting the application on receiving the ACTION_BOOT_COMPLETED, register for another broadcast receiver ACTION_SCREEN_ON and ACTION_USER_PRESENT on boot complete dynamically, you cannot register this in Manifest file, on receiving the ACTION_USER_PRESENT just start your main activity.
Here is the link for ACTION_SCREEN_ON example.