[android-developers] Re: How do I make my application to be restarted after the phone is powered-on again?
Thanks for the code in the other thread. Very useful. On Mar 30, 12:39 am, Mark Murphy mmur...@commonsware.com wrote: pperotti wrote: Thanks Mark, I have just read also the response in the last update of your latest book. That was fast! ;-) -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android App Developer Books:http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How do I make my application to be restarted after the phone is powered-on again?
pperotti wrote: Can anyone give me a hint about what should I do to make my application to be restarted automatically after the phone has been powered-off and powered-on again ? I read that regular alarms do not survive phone reboots so, I'm assuming there should be a way to do it. You have to register a BroadcastReceiver to get control when the phone reboots and then re-register your alarms. We just had an extended thread on this very list on a related topic: http://groups.google.com/group/android-developers/browse_thread/thread/947fd3d0ed878c66# -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How do I make my application to be restarted after the phone is powered-on again?
Thanks Mark, I have just read also the response in the last update of your latest book. On 29 mar, 20:01, Mark Murphy mmur...@commonsware.com wrote: pperotti wrote: Can anyone give me a hint about what should I do to make my application to be restarted automatically after the phone has been powered-off and powered-on again ? I read that regular alarms do not survive phone reboots so, I'm assuming there should be a way to do it. You have to register a BroadcastReceiver to get control when the phone reboots and then re-register your alarms. We just had an extended thread on this very list on a related topic: http://groups.google.com/group/android-developers/browse_thread/threa... -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How do I make my application to be restarted after the phone is powered-on again?
pperotti wrote: Thanks Mark, I have just read also the response in the last update of your latest book. That was fast! ;-) -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---