get Android permission dynamically

后端 未结 4 1502
长发绾君心
长发绾君心 2020-12-18 05:02

I\'m wondering if it\'s possible to get Android permission dynamically without using AndroidManifest just with some codes, because I\'ve some OSGi bundles running on Android

4条回答
  •  青春惊慌失措
    2020-12-18 05:29

    Yes, i found this line in http://developer.android.com/guide/topics/security/security.html:

    Android has no mechanism for granting permissions dynamically (at run-time) because it complicates the user experience to the detriment of security.

提交回复
热议问题