[android-developers] Broadcast Receiver not getting called when expected
Hi everyone,
I have a service that gets updated every x minutes depending on the
user preferences. This service connects to a web service and pulls
some data. If during an update the user has no connection I register
my receiver and start listening for changes
(ConnectivityManager.CONNECTIVITY_ACTION), the thing is that onReceive
() only gets called on every update instead of firing onReceived as
soon as I plug the connection back in. Have I understood the concept
of Broadcast Receiver wrong? Is it not suppose to send a notification
as soon as it detetcs a change in the connection?
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home