Save markers on Android google maps v2
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())); CrashOverride 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 : try { // Modes: MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITABLE