MCA09020 MCA09020 - 2 months ago 18
Android Question

How to change AndroidManifest in runtime?

Is it possible to change

AndroidManifest.xml
in runtime programatically? If it is possible, how can I change the following programatically int he AndroidManifest while running app?

android:configChanges="orientation|keyboardHidden"

Answer

No - it's not possible to change the Android AndroidManifest.xml in runtime.
But, you CAN do changes in runtime programatically - see here (look for onConfigurationChanged).

Comments