Background Activity for Map in Android started again if phone orientation is changed

Posted by Dave on Stack Overflow See other posts from Stack Overflow or by Dave
Published on 2010-04-06T09:12:06Z Indexed on 2010/04/06 9:13 UTC
Read the original article Hit count: 255

Filed under:
|
|
|

Hi,

i've developed an android app that's fetches an xml file and displays this data via several markers on the map. This works fine so far.

The problem right now is that when i switch the orientation of the phone (portrait->landscape or vice versa) the markers disappear for a small moment, the xml processing is started again and then they reappear.

Is there a way to prevent this re-loading of the file? It only takes about 2-3 seconds..so no big deal, but still disturbing

© Stack Overflow or respective owner

Related posts about android

Related posts about map