Android is not a real time os, you cannot assume that the message queue will be flushed in any kind of timely fashion.
Why are you doing this? Kris On Fri, Mar 1, 2013 at 2:39 AM, Amith Salian <[email protected]> wrote: > I have a strange situation with my Service in Activity. > My service calls a background method every 20 sec when active. In the > development environment the time elapse between successive calls is exactly > 20 sec, however in an Android device it is arbitrary. > Anyone encountered this issue? > > -- > -- > 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. > > > -- -- 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.

