Is it possible to somehow see if a particular broadc开发者_如何转开发astReceiver is registered and running?
I'm facing a problem with the emulator. My code works fine on an actual device but not on an emulator. I'm adding proximity alerts and I have a class that implements broadcastReceiver
. I register the receiver, but nothing happens when I run it on the emulator (I'm passing in valid location coordinates which should get caught by the proximity broadcast receiver).
I'm thinking that the broadcastReceiver
object might be getting garbage collected. Otherwise I can't explain it.
Any ideas why this is happening? How can I debug this?
Fixed it...Just needed to tick wipe user data apparently....
精彩评论