.NET Components for Mobility

Method Failed Error

Last post 07-28-2008 7:48 AM by dom406. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 07-24-2008 6:08 AM

    • dom406
    • Top 100 Contributor
    • Joined on 05-07-2008
    • Posts 6

    Method Failed Error

    Hi,

     I've implemented tomtom navigator functionality in my pocket pc application. I've used sdk version 6.031 and Inthehand.TomTom library.

    Everything works fine, but when I geocode adresses (city, address, housenumber, postal code). Some of them are geocode correctly, but some of them raise a method failed error. I've searched the forum but found nothing similar. What could be happening?

     Thanks in advance,

    Santi

  • 07-24-2008 2:06 PM In reply to

    Re: Method Failed Error

    Do the same addresses geocode correctly if entered through the TomTom application?

    Peter

    Peter Foot
    Microsoft Device Application Development MVP
    www.peterfoot.net | www.inthehand.com
  • 07-25-2008 3:55 AM In reply to

    • dom406
    • Top 100 Contributor
    • Joined on 05-07-2008
    • Posts 6

    Re: Method Failed Error

    Hi,

    Those addresses doesn't exist. But geocode method should return Ambiguous or NotFound in the Status property of the GeocodeInfo, am i right?

     Thanks for your fast response,

     Santi

  • 07-28-2008 7:31 AM In reply to

    Re: Method Failed Error

    It's not clear from the TomTom documentation but I think this is the correct behaviour - if no match is available at all it will fail and hence throw an exception in this case. If there is a partial match it will return successfully but the GeocodInfo will contain Ambiguous status.

    Peter

    Peter Foot
    Microsoft Device Application Development MVP
    www.peterfoot.net | www.inthehand.com
  • 07-28-2008 7:48 AM In reply to

    • dom406
    • Top 100 Contributor
    • Joined on 05-07-2008
    • Posts 6

    Re: Method Failed Error

    Ok, thank you Peter. Just wanted to make sure if it is the correct behaviour. I'll just catch the exception then.

     Santi

Page 1 of 1 (5 items)
Copyright © 2001-2008 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy.