android - 如何使用我的应用程序更改 facebook 权限?

标签 android facebook android-permissions android-6.0-marshmallow

我正在 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/

相关文章:

android - 设备锁定时出现权限对话框

Android sticky-footer : Align footer view to table, 直到达到屏幕大小,然后固定在底部

ios - 在 Facebook Messenger 的 UIActivityViewController 中发送图片 + url

Android 6.0 写入外置SD卡

Facebook 图形 API : How to filter home & feed by application?

python - pyqt、webkit 和 facebook 身份验证?

android-studio - Android Studio - 如何找到哪个库正在使用危险权限?

android - Android Studio/Gradle 中的 productFlavor 变量

Android Facebook SDK 解析JSON

java - Android Studio Activity 启动延迟