Android M:以编程方式撤消权限 [英] Android M: Programmatically revoke permissions

查看:94
本文介绍了Android M:以编程方式撤消权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在使用android m的新权限系统. 我正计划在我的应用内设置中添加一个屏幕,用户可以在其中授予或撤消权限.

I am currently playing around with android m's new permission system. What i am planning is to add a screen to my in-app settings where the user can grant or revoke permissions.

该屏幕看起来与常规系统设置屏幕类似,但是会包含其他信息,说明我的应用为何需要特定权限.如

The screen would look like the regular system settings screen, but will have additional information why my app needs the specific permission. This settings screen would be an addition to the regular permission handling as suggested in the Documentation.

工作流程为:

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆