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
android fusedlocationproviderapi adb geofencing
Bill mote
source share