get Android permission dynamically

后端 未结 4 1507
长发绾君心
长发绾君心 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:05

    No this is not possible.

    You can't alter the contents of an already installed APK. It would be very dangerous to allow such a behavior anyway as the whole permissions system is meant to allow the user to first read what permissions an Application requires so he can judge if it is ok or not.

提交回复
热议问题