I had with same problem with my App in that some geocoder returns are empty. I can suggest two solutions
1) Do try catch exceptions that traps a null and then starts the method again (which it will do until it gets a result). Seems to work for me. 2) The results come back thick and fast so use an algorithm to examine say 10 results and then take average whilst rejecting nulls. Please let us know what you find out... On Sep 9, 6:39 pm, tatebn <brandonnt...@gmail.com> wrote: > I'm trying to use the GeoCoder to get the lat/lon for a couple of > addresses. I'm running into an error where the address list comes > back empty sometimes. It seems to be completely random. I have a > start point and an end point to draw and route. Sometimes I can't get > either one, sometimes I can get the start but not the end, sometimes I > can get the end but not the start. I never seem to be able to get > both. Not sure why. Yesterday it worked fine. Any thoughts? -- 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