Hi everyone My application launches with a splash screen.On very first launch of application, it register to server then register to broadcast receiver, all these task are done in AsyncTask but some times it goes ANR state. On every launch except first launch I stop the receiver and reschedule it again that is not necessary but for confirmation of receiver is killed I do this. And it goes in ANR condition.
What parameter should I use to immediately schedule the receiver(i.e. Alarm Manager) after registering the application in the following method? alarmManager.setRepeating(type, triggerAtTime, interval, operation); Please tell me in which condition an application goes in ANR state and how can I avoid this state? Thanks and Regards Sapna Srivastav -- 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

