在Android 6.0中,我们需要在运行时获得哪些权限
我有一个可以在Android 5.0版本上正常运行的android代码.我的AndroidManifest.xml
是
I have an android code which can work well on Android 5.0 version. My AndroidManifest.xml
is
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BROADCAST_STICKY" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-permission android:name="android.permission.WAKE_LOCK" />
但是,我的使用Android 6.0(LG G5)的客户报告该应用程序无法正常运行.我没有LG G5来检查问题所在.我认为原因是权限从5.0更改为6.0.您能否看一下我的许可,并请我为Android 6.0进行一些改进/更正?还是我们有任何方法可以自动添加Android 6.0的权限.谢谢所有
However, my customer who uses Android 6.0 (LG G5) reported the application does not work well. I do not have LG G5 to check what is the issue. In my opinion, I think the reason is that the permission changed from 5.0 to 6.0. Could you look at my permission and give me some improve/correct it for Android 6.0? Or do we have any way to automatically add permission for Android 6.0. Thank all
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
这些权限将是您应用程序中的运行时权限
These permissions will be run time permissions inn your App
有关更多信息:
看看这对您有帮助