活动识别在Android 6.0中运行权限

WoW*_*WoW 5 android android-permissions activity-recognition android-6.0-marshmallow

我正在尝试实现活动识别,因此它将支持api 23.我已经按照此处运行的权限指南进行操作:

https://developer.android.com/guide/topics/security/permissions.html#normal-dangerous

我无法确定活动识别是否被归类为危险许可或正常?

即使在谷歌的活动识别样本中,他们也没有针对api 23:https://github.com/googlesamples/android-play-location/tree/master/ActivityRecognition

Android 6.0中是否可能不支持活动重新认知?

gre*_*f82 2

我在我的应用程序中使用此权限,并且在 Android 6 上不需要任何额外的工作,您可以毫无问题地使用它,它不是“危险”。