I have two activity groups that contain a list that go to a detail view. The detail activty extends a mapactivity. Once I set the lat/long and add the point and center it everything works great. If I go to the other activity to do the same thing, both maps are changing with each lat/long change. The code and view xml are seperate, so why are both maps changing to the same lat/long?
Share
If you look at the docs for MapActivity, it says: only one MapActivity is supported per process. Ignoring this causes all sorts of problems besides the ones you are experiencing. The workaround is to put one of the MapActivities in a separate process. To do this modify the manifest entry for one of your activities and add the
android:processattribute, like:Note that there are downsides to putting one of the activities in a separate process.