Is there any way to ask permission programmatically?

后端 未结 6 2022
名媛妹妹
名媛妹妹 2020-12-03 21:07

Is there any way to ask permission programmatically in android ? I don\'t want to add all permission to AndroidManifest.xml. So is there any dialog that asks for permission

6条回答
  •  执笔经年
    2020-12-03 21:39

    No. The user needs to be informed about the permissions while installing the application. Asking the user at runtime would be a security risk.

提交回复
热议问题