Hi

What is the best way to get Sub Location


Here is the code Im using

double latitude = location.getLatitude() ;
double longitude = location.getLongitude() ;


List<Address> addresses = gc.getFromLocation(latitude, longitude, 1);
Address address = addresses.get(0);
address.getSubLocality() ;


But most of the time it doesnt come back to me with SubLocality. If it is
not able to find the sublocality then is there any way for me to search in
another 500 - 1000 meters to get near by location and show?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to