How get latitude and longitude from an Android listview and put it in google maps?
I'm new to Android programming, In my mind i need an app that get latitude and longitude of a person from an embed csv file then showing this in a listview. there is no problem so far. The point is that when user clicked on a row of listview, The app show him or her the Coordinates of that latitude and longitude in google map. how can i implement this? ton of Thanks!
Get your latitude and longitude in a string and then use
String url1 = "http://maps.google.com/maps?daddr=" + strLatLong; Intent intent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse(url1)); startActivity(intent);
It will open the location in google maps.