Hmm, that is actually quite surprising to me. Especially if I want to do something on screen-on and off. So in the above case, if I get the intents in this order Off, On, On, Off instead of the right sequence Off, On, Off, On, then all my logic will go horribly wrong. Are you sure about the system intents being delivered not in the sequence they were generated?
On Monday, March 26, 2012 1:16:51 PM UTC+5:30, Ali Chousein wrote: > For anything which works asynchronously (BroadcastReceivers work > asynchronously) I wouldn't make any assumptions that you are going to > receive messages in order. > > ------------------------------------------------- > Ali Chousein > http://socialnav.blogspot.com | http://twitter.com/socialnav1 > http://weatherbuddy.blogspot.com <http://weatherbuddy.blogspot.com> | > http://twitter.com/weather_buddy <http://twitter.com/weather_buddy> > http://www.codeproject.com/KB/android/PayGol-Android.aspx<http://www.codeproject.com/KB/android/PayGol-Android.aspx> > > http://geo-filtered-assistant.blogspot.com<http://geo-filtered-assistant.blogspot.com> > > -- 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

