views:

233

answers:

1

I'm working on an app which contains some scripting support. The scripts executed by this app might require all sorts of permissions in the future, but it's difficult to predict which ones.

Is there a way to request additional permissions at runtime (like iPhone apps sometimes do) instead of specifying them all in advance in AndroidManifest.xml?

+7  A: 

According to the Android documentation:

The permissions required by an application are declared statically in that application, so they can be known up-front at install time and will not change after that.

JRL
Indeed, similarly the `<uses-permission>` documentation says "Permissions are granted when the application is installed, not while it's running."
Christopher

related questions