The class BroadcastReceiver defines the onReceive() method. Only during
this method your BroadcastReceiver object will be valid, afterwards the
Android system can recycle the BroadcastReceiver. Therefore you cannot
perform any asynchronous operation in the onReceive() method.
refer:
http://www.vogella.com/articles/AndroidBroadcastReceiver/article.html

-- 
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

Reply via email to