The first time I get the failure, this is in the logCat: 05-30 23:12:50.607: DEBUG/InetAddress(570): www.google.com: 209.85.225.104 (family 2, proto 6) 05-30 23:12:50.637: DEBUG/InetAddress(570): www.google.com: 209.85.225.147 (family 2, proto 6) 05-30 23:12:50.637: DEBUG/InetAddress(570): www.google.com: 209.85.225.99 (family 2, proto 6) 05-30 23:12:50.637: DEBUG/InetAddress(570): www.google.com: 209.85.225.103 (family 2, proto 6)
The second time when it succeeds I have this: 05-30 23:14:46.017: DEBUG/LocationMasfClient(570): getAddressFromProtoBuf(): Ignore feature 0,Douglas On May 30, 6:01 pm, pawpaw17 <[email protected]> wrote: > Yes, that's it, thanks! Works like a charm. The only other > nutty thing I keep noticing with Android 1.5, that I noticed > in 1.1, is the "first" call to geocoding always fails for > me after I create the geocoder object. In the code below > I always hit the exception. The second call always works though. > > Has anyone else noticed this? > > boolean networkfailure = false; > try{ > locations = gc.getFromLocationName(Zip,1);} > > catch (IOException e) > { > networkfailure = true; > > } > > if (networkfailure){ > try{ > locations = gc.getFromLocationName(Zip,1);} > > catch (IOException e){} > > On May 30, 5:34 pm, patrick <[email protected]> wrote: > > > > > oops, was too slow :) > > > On 31 mai, 00:33, patrick <[email protected]> wrote: > > > > in fact, when u create the avd, u have currently 3 target available: > > > 1.1 > > > 1.5 > > > 1.5 + google maps apis > > > > so i guess u choosed the 1.5 target. > > > > On 30 mai, 22:50, pawpaw17 <[email protected]> wrote: > > > > > Everyone, > > > > > Thanks in advance for any thoughts on this. In v1.5 of the SDK, the > > > > Maps/Streetview app > > > > is not installed in the emulator. I'm relying on launching an implicit > > > > intent which maps > > > > my addresses for me. Is there a way to test this in the emulator, i.e, > > > > do I need to install something > > > > extra? I'm presuming this is on the actual G1 phone with v1.5. Does > > > > anyone know? > > > > > I'm also getting 100% failures in calls to getFromLocationName(). Is > > > > this related? > > > > > Thanks, > > > > > Best, > > > > > pawpaw17- Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

