Hi

I am developing  a GPS enabled application, in which I am successfully
getting the latitude and longitude of the location but whenever I am
trying to get the name of the location through GeoCoder , an error
occurs namely:

ERROR/LocationMasfClient(63): reverseGeocode(): no feature in
GLocation

A piece of code is as

try {
                Geocoder gcd=new Geocoder(getBaseContext(), 
Locale.getDefault());
                Log.i(">>>>>>>>>>>>>>>>>>>>","geo object");

                List<Address>
address=gcd.getFromLocation(location.getLatitude(),
location.getLongitude(), 3);
                        if(address.size()>0)
                        {
                                Log.i("*****the address**", 
address.get(0).getLocality());
                        }
                } catch (IOException e) {
                        Log.e("********************", e.getMessage());
                        e.printStackTrace();
                }

please help me to resolve the issue and tell me why this error occurs
and how can i get rid of this?


Thanks and regards
Sapna

-- 
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