1. Register broadcast receiver in onResume() without any additional 200ms 
and add some logic inside receiver to ignore intents for the first 200ms 
after startup. 
or
2. If you still want to do such weird things (i.e. to register BR in another 
task?!) then you need to inform this task when onPause is called to prvent 
new BR to be created. Because this is exactly what has happened: your "200ms 
task" creates a broadcast receiver after the app has received and processed 
onPause(). 
IMHO the whole idea of creating BR in another task contradicts the Android 
design and should be avoided.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to