I have a map views which is have some markers on the map and a back button to the main page. I also have a list of textview which is when selected, it will open a new page that have a button "View Map". The button "view map" will open up a map. Each selected page has different map view which is different markers on it.
The problem is :
It works fine when I select the list of textview and "view map" button. The button back also functioning well. However, when i select another list and click the button view map, debug force close appear. I look for the solutions and the DDMS shows that "you are only allowed to have a single mapview in a mapactivity". How i'm going to fix this problem with the simpler ways without create another class or create new activity in android manifest.?