I am using Android Google maps v2 API and have it set up to add markers on long click. I need a way to save these markers and reload them when the app resumes again. What will be the best way to do this? Please help
Currently I add markers as follows:
map.addMarker(new MarkerOptions().position(latlonpoint)
.icon(bitmapDescriptor).title(latlonpoint.toString()));
I got it! I can easily do this via saving the array list of points to a file and then reading them back from file
I do the following
onPause:And
onResume: I do the opposite