I had those problems recently(detecting boot and slidelock inhibiting/bypass). The app was for a kiosk-like project in a museum. Detecting power-on was also a consideration. see: http://tombtalk.net/?page_id=598&sequence=1 There are some code samples and a description on modifying the tablet for external power control. Best, Tom B
On Tuesday, April 10, 2012 11:56:47 PM UTC-4, galapogos wrote: > > Hi, > > 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: > - Starting a service that receives the ACTION_BOOT_COMPLETED > broadcast, and then having the service start the main app activity via > an intent. My concern is that I'm not sure when exactly the > ACTION_BOOT_COMPLETED broadcast occurs. I need the app to start only > after the user unlocks the device, not before. > - Modifying the launcher to start the app upon device unlock. Is this > possible? > > Are there any other intuitive ways to do what I've described? > > Thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

