How to view a list of controlled geofences with adb?

I am debugging a location-enabled application, and I would like to get a list of Geofences that are currently controlled by the system, even if I can only see Geofences for my own packages. The code uses GoogleApiClient and therefore FusedLocation.

I tried adb shell dumpsys location , which has an output section for "Geofences:" but it is always empty. I guess this is for outdated location / geofence / proximity.

I also tried only adb shell dumpsys and searched for this file for adb shell dumpsys but found nothing.

Both of these commands were launched after the application started and successfully added fencing for monitoring. An example implementation can be found here: https://github.com/androidfu/GeofenceExample

+7
android fusedlocationproviderapi adb geofencing
source share

No one has answered this question yet.

See related questions:

3295
Why is the Android emulator so slow? How can we speed up Android emulator development?
1260
How can I open the url in android browser from my application?
843
How can I connect to Android with ADB via TCP?
815
Android "Only the original thread that created the view hierarchy can touch its views."
782
How to create a RecyclerView with multiple view types?
625
How to align the bottom view of the screen?
416
How to use the ADB shell when connecting multiple devices? Error with "error: more than one device and emulator"
328
How to launch the application using ADB tools for Android?
2
eclipse cannot install apk on the device, "ActivityManager: / sbin / sh: am: not found"
one
Executing Root Based Commands on an Android Application

All Articles