Hi dudes I developed one app to display friends on Map view working fine but while changing orientation re executing its taking time how overcome this problem? Thanks in advance.
Asked
Active
Viewed 229 times
0
-
see http://stackoverflow.com/questions/456211/activity-restart-on-rotation-android – ngesh Apr 18 '12 at 05:23
2 Answers
2
To stop re-creation of Activity add
android:configChanges="keyboardHidden|orientation"
in your tag in AndroidManifestFile.

Lalit Poptani
- 67,150
- 23
- 161
- 242
0
Prohibit orientation change or you can do you crucial initialization only once and save app state in bundle object.