Thanks for the reply Mark, So, 2.2 onwards, the task killers won't be able to prevent or remove scheduled alarms ?
On Dec 3, 4:17 pm, Mark Murphy <[email protected]> wrote: > On Fri, Dec 3, 2010 at 2:03 PM, Tejas <[email protected]> wrote: > > I was under the impression that if we register with the AlarmManager > > and set a Repeating PendingIntent to be fired, it will invoke our > > IntentService, even if the application is running or not. > > That is correct. > > > Isn't it the most popular way to make sure you run your task even if > > your application is not running ? > > It's pretty popular. Bear in mind that it is still subject to nuclear > attack from task killers on Android 2.1 on down -- their tactics > eradicate scheduled alarms. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > _Android Programming Tutorials_ Version 3.0.1 Available! -- 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

