我正在 marshmallow 6.0 中开发应用程序,但是当我尝试使用 Intent 共享 uri 时,当 facebook 的存储权限通过我的应用程序关闭时,我无法在 facebook 上共享图像。
如何在使用我们的应用程序共享链接时将 Facebook 存储权限设置为 ON 或如何提示对话框以授予权限。
最佳答案
Dangerous permissions cover areas where the app wants data or resources that involve the user's private information, or could potentially affect the user's stored data or the operation of other apps. For example, the ability to read the user's contacts is a dangerous permission. If an app declares that it needs a dangerous permission, the user has to explicitly grant the permission to the app.
查看本教程,谷歌简单模式: https://github.com/googlesamples/easypermissions
更多信息: http://developer.android.com/intl/es/guide/topics/security/permissions.html#normal-dangerous
关于android - 如何使用我的应用程序更改 facebook 权限?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35412979/