I am learning android. Right now I am working on an app that uses map api. So far I did the following: - I long clicked the map and opened a new activityClickedMap displaying lat and lon of the location I clicked - I clicked save button and added lat and lon, both to server and to my local db
The thing I want to do is this: - When I open the map I want it to display a marker using the lat and the lon from database
Retrieve lat and long from database.
and then
LatLng latLng = new LatLng(Double.parseDouble(latfromdb),Double.parseDouble(longfromdb));Get the list of lat long from db and Add Marker in for loop for multiple marker :