Says why right there in the documentation. 

"These alarms are more power-efficient than the strict recurrences supplied 
by setRepeating(int, long, long, PendingIntent), since the system can 
adjust alarms' phase to cause them to fire simultaneously, avoiding waking 
the device from sleep more than necessary."
http://developer.android.com/reference/android/app/AlarmManager.html#setInexactRepeating(int,
 
long, long, android.app.PendingIntent)

On Wednesday, July 17, 2013 8:57:08 AM UTC+2, Ashish Sharma wrote:
>
> Hi,
>
> In android i found to set repeating task with Alarm Manager as compare to 
> service is a better approach..
>
> but can any body explain what is *Inexact Alarms and why we prefer it.*
>
>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to