[android-developers] Re: Geocoder not returning result
As I said, we'd need a wire trace to help. How fast does the call return? Are you sure it's even hitting the network? --~--~-~--~~~---~--~~ 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 android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Geocoder not returning result
Any help on this as this is stopping our work. Searched in all android forums, but no luck.. [?] --~--~-~--~~~---~--~~ 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 android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- <>
[android-developers] Re: Geocoder not returning result
I have tried with both the Targets but still not working. --~--~-~--~~~---~--~~ 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 android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Geocoder not returning result
hi, Create a new AVD which target is Google APIs 1.5 instead of Android 1.5 may solve this problem Regards, On May 15, 2:09 pm, Android Users wrote: > Has anyone else faced issue with geocoding on android 1.5? --~--~-~--~~~---~--~~ 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 android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Geocoder not returning result
Has anyone else faced issue with geocoding on android 1.5? --~--~-~--~~~---~--~~ 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 android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Geocoder not returning result
I have tried it both on emulator and device. But no luck. [?] The result is an empty list. [?] I have posted one more query related to device. Just have a look if that is causing any problem in geocoding. http://groups.google.com/group/android-developers/browse_thread/thread/b1e7a5d6c75cf03a Any help on the both the issues? Thanks in advance. --~--~-~--~~~---~--~~ 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 android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- <>
[android-developers] Re: Geocoder not returning result
> NOTE: I am behind a proxy when testing on emulator. I am able to access > internet from the emulator. But still facing this issue. I wonder if that proxy might be mangling headers somehow. Do you have a hardware device running 1.5 to confirm this is only an emulator issue? This geocoder-not-working-on-emulator issue was present in the 1.5 preview SDK, but I'm not sure if it was fixed before the final SDK was cut. -- Jeff Sharkey jshar...@google.com --~--~-~--~~~---~--~~ 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 android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Geocoder not returning result
Try grabbing a wire trace of what your app is doing. If you can prove the app is generating correctly formatted geocode requests to maps.google.com and you're getting back a server error or the format changed incompatibility, bring it up on the Google Maps API group where an engineer will take a look at it. On May 9, 12:43 pm, Android Users wrote: > Its not working on both the emulator and the device. > > 1. If i am using the Target 3 AVD, then I am getting an IOException on > the below mentioned method call. > > addressList =geocoder.getFromLocation(mLatitude, mLongitude, 1); > > latLongList = geocoder.getFromLocationName(currentCityCountry, > 1); > > Any way to resolve the IOException problem? > > 2. If i use the Target 2 AVD, then i am result of the above method > call is an empty array. > > What could be the problem? Any suggestions as to how this can be avoided? > > The logs for the IOException : > > 05-09 11:31:21.074: WARN/System.err(725): java.io.IOException: Unable to > parse response from server > 05-09 11:31:21.074: WARN/System.err(725): at > android.location.Geocoder.getFromLocation(Geocoder.java:124) > > 05-09 13:10:04.775: WARN/System.err(725): java.io.IOException: Unable to > parse response from server > 05-09 13:10:04.927: WARN/System.err(725): at > android.location.Geocoder.getFromLocationName(Geocoder.java:166) > > NOTE: I am behind a proxy when testing on emulator. I am able to access > internet from the emulator. But still facing this issue. --~--~-~--~~~---~--~~ 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 android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Geocoder not returning result
Its not working on both the emulator and the device. 1. If i am using the Target 3 AVD, then I am getting an IOException on the below mentioned method call. addressList =geocoder.getFromLocation(mLatitude, mLongitude, 1); latLongList = geocoder.getFromLocationName(currentCityCountry, 1); Any way to resolve the IOException problem? 2. If i use the Target 2 AVD, then i am result of the above method call is an empty array. What could be the problem? Any suggestions as to how this can be avoided? The logs for the IOException : 05-09 11:31:21.074: WARN/System.err(725): java.io.IOException: Unable to parse response from server 05-09 11:31:21.074: WARN/System.err(725): at android.location.Geocoder.getFromLocation(Geocoder.java:124) 05-09 13:10:04.775: WARN/System.err(725): java.io.IOException: Unable to parse response from server 05-09 13:10:04.927: WARN/System.err(725): at android.location.Geocoder.getFromLocationName(Geocoder.java:166) NOTE: I am behind a proxy when testing on emulator. I am able to access internet from the emulator. But still facing this issue. --~--~-~--~~~---~--~~ 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 android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Geocoder not returning result
Are you testing the Geocoder on an emulator, or on a device? You might need to create an AVD using target "3" that includes the Maps libraries. j On Fri, May 8, 2009 at 2:30 AM, Android Users wrote: > Hi, > > My application that uses geocoding was working fine till last week and now > all of a sudden am not getting proper data from the same. > > I used getLocality() , which was returning CITY name previously. But now it > is returning NULL. > > Is something changed? or Has someone faced the same issue? > > My application is on SDK 1.0 > > > Thanks in advance. > > > > > -- Jeff Sharkey jshar...@google.com --~--~-~--~~~---~--~~ 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 android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Geocoder not returning result
Any help on this? --~--~-~--~~~---~--~~ 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 android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---