DanyZift
DanyZift

Reputation: 687

Display saved Proximity Alerts on Android?

Does anyone know of a way to get/show all stored proximy alerts on Android?

What I have done:

All works fine and alerts/notifcations display as they should

What I want to do next for debugging/testing purposes was to show all the locations/alerts that are currently stored and display them in a list.

Anyone know how to do this or point me in the right direction?

Thanks

Upvotes: 0

Views: 526

Answers (2)

user2006348
user2006348

Reputation: 11

You need to "dumpsys location" from the ADB prompt.

Upvotes: 1

CommonsWare
CommonsWare

Reputation: 1007544

What I want to do next for debugging/testing purposes was to show all the locations/alerts that are currently stored and display them in a list.

Well, you can't really do that from the SDK, other than to record them all yourself. See if adb shell dumpsys reports on registered proximity alerts somewhere in the pile of information it returns. I don't have any code handy that registers a proximity alert, so I don't know for certain if the information you would need is there or not.

Upvotes: 0

Related Questions