I am trying to reverse geocode my location using google maps to retrieve my current location’s street name and perhaps postal code. I tried out many projects that used locality but i think my country always causes it to return a null(I am from Singapore).
Using XML, i am kinda unsure how am i suppose to parse the file i got from Google maps.
serverAddress = new URL("http://maps.google.com/maps/geo?q=" + Double.toString(loc.getLatitude()) + "," + Double.toString(loc.getLongitude()) +
"&output=xml&oe=utf8&sensor=true&key=Hidden");
Can anyone give me a direction here to move towards? Should i use the Document function to save and then proceed with SAX to parse the file?
try this:
for more detail for ReverseGeocode see this example