Is it possible to set values in AndroidManifest.xml by code?
For example I want to set android:largeHeap=”true”, but it is possible only in 3.x platforms; but my application must run on 2.2 and above.
Then I want to set android:largeHeap=”true” on 3.x platforms and do nothing on 2.x platforms by code.
Any ideas??
It is NOT possible to change Manifest at runtime..
from developer.android.com :
plus:
so everything is specified before running and then your App runs, under permissions and conditions Android system gave to it.
cheers