Hey guys,
I'm trying to run this Geocoder map query here but no success at
all... it always returns null...
if I go to Emulator's Map app and search the same thing I got the
desired results...

I also noticed that I receive this message right after the method gets
executed..
10-01 09:35:51.095: ERROR/LocationMasfClient(51): forwardGeocode(): no
feature in GLocation


I've set these permissions:
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission
android:name="android.permission.ACCESS_FINE_LOCATION"/>
    <uses-permission
android:name="android.permission.ACCESS_COARSE_LOCATION"/>

here is a snap of the code:
    Geocoder g = new Geocoder(this);
            try {
                List<Address> b = g.getFromLocationName("pizza, 94043
Mountain View, USA", 10);
                int j = b.size();
                for (int i = 0; i < j; ++i) {
                    Address x = b.get(i);
                    Log.i(Global.LOG_TAG, "Address found = " + x);
               }
            } catch (IOException e) {
                e.printStackTrace();
            }

Am I missing something here? a hidden permission perhaps?

Cheers,
Rafael Fernandes

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
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