Saturday 15 September 2012

Get my country from my current location google map v2 android -


I'm using Google Maps v2 in my Android app to get my location and it works well Now I want to get my country, which means that if I am in Cairo or Alexandria, then the code tells me that I am in Egypt and if I am in New York, then the code tells me that I am United States I am in

How can I do this with code?

Thanks in advance.

Sending a LatLng gives you a list of potential addresses, one of them is the country.

Example:



No comments:

Post a Comment