How to change AndroidManifest at runtime?

Is it possible to change AndroidManifest.xml at run time programmatically? If possible, how can I change the following code in AndroidManifest during application launch?

android:configChanges="orientation|keyboardHidden"

+7
source share
2 answers

No - it is not possible to change Android AndroidManifest.xml at run time.
But you can programmatically change the changes at runtime - see here (look for onConfigurationChanged ).

+5
source

Unable to set configChanges attribute programmatically

0
source

All Articles