[英]Display saved Proximity Alerts on Android?
Does anyone know of a way to get/show all stored proximy alerts on Android? 有人知道在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 谢谢
您需要从ADB提示符下“ dumpsys位置”。
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. 嗯,除了自己记录所有内容外,您实际上无法通过SDK进行操作。 See if
adb shell dumpsys
reports on registered proximity alerts somewhere in the pile of information it returns. 查看
adb shell dumpsys
是否在返回的大量信息中报告已注册的接近警报。 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. 我没有方便的代码来注册接近警报,因此我不确定是否需要您提供的信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.