In short: How do I access LocationManagerService.mProximityAlerts?
I’m trying to get multiple ProximityAlerts to work in Android. It would be helpful to track what is happening to my PendingIntents I’ve added as ProximityAlerts during debugging.
I’ve checked the Android source code and see that there is an mProximityAlerts map variable declared in LocationManagerService, but I have no idea how to access that variable while running (debugging) my app.
Querying the result of this call
LocationManager lm = (LocationManager) caller.getSystemService(Context.LOCATION_SERVICE);
in the debugger while running doesn’t seem to help, and I can’t typecast lm.mService into LocationManagerService in the NetBeans watch list (if that’s even the right track…).
You don’t, at least not through the SDK. They may be included in the output of
adb shell dumpsys.