I have included a service module with StartAtBoot: True to start my application. It works when I POWER OFF the tablet and turn it back on. But I would like my application to always come to the fore front and start when I turn power button on. Can this be done?
Thank you very much
You can listen to the ScreenOn event with PhoneEvents. However this event can only be intercepted with dynamic receivers (see the intent filters tutorial). This means that you will need to call Service.StartForeground to keep your process running all the time.