Issue
I had found a lot of stackoverflow post about save an Activity and the reload it. My question: How can I have an Activity with an MapView and after reload the same mapview ? What is the best way to switch between activity and views ? Thanks:Karoly
Solution
If I understand correctly what you ask, you need to come back from your other activities to the same instance of MapActivity that you first have run.
In order to do that, from your other activity, just start the MapActivity with an Intent with the flag FLAG_ACTIVITY_REORDER_TO_FRONT. This will not create a different instance of your MapActivity but bring to front your initial one.
Answered By - Catalin Morosan
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.