0

I have one Map on my main activity and It works fine. Recently I added another small map view on one of my sub activities using the same google map key. Now when I press back after looking at the map on sub activity, it returns to the main view and bottom of the map on main activity turns black. See the attached image. alt text

Is there anyone who has faced this problem and know why sometimes bottom of map turns balck?

Sharjeel
  • 15,588
  • 14
  • 58
  • 89

1 Answers1

0

You can only have 1 map activity per process.

http://code.google.com/android/add-ons/google-apis/reference/com/google/android/maps/MapActivity.html

techi.services
  • 8,473
  • 4
  • 39
  • 42
  • Have each Activity run in its own process. Not to sure on how to acheive that though. It may have been answered on Stackoverflow before because I have seen this problem asked before. – techi.services Nov 25 '10 at 10:26
  • You got my curiosity going http://stackoverflow.com/questions/3379575/how-to-use-multiple-mapactivities-mapviews-per-android-application-process – techi.services Nov 25 '10 at 10:31