Alexey Volovoy wrote: > Hm.. let's say i'm not going to schedule next update via alarm if > screen is off. Service will shut itself down. Then screens is coming > back what will listen to that broadcast ?
A BroadcastReceiver registered in your manifest. That receiver then starts up your service. You may already have one of these if your service needs to start up at boot time. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Training: http://commonsware.com/training.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 -~----------~----~----~----~------~----~------~--~---