.NET Components for Mobility

Capabilities of TomTom API + TomTom In the hand

Last post 04-29-2009 7:11 AM by PeterFoot. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 03-16-2009 12:01 PM

    Capabilities of TomTom API + TomTom In the hand

    Hi there, 

    I am a mobile software developer working on a GPS driven project. One of the requirements of the project is loging the status of roadside items while driving along (approx 50mph, item every 40 meters). We have a data structure in place to allow us to log the status of these items and a GUI in a standard WinForms application in an ordered list. However, with growing complexity of the data, there has been a request to view it as a scrolling map. I was wondering would the following be possible with the TomTom API and your wrapper?

    1 ) Open up a survey/pre-planned route on the device
    2 ) Add a large amount of POIs or items onto the map at GPS locations
    3 ) Drive along and if there is a status change on one of these items click it on the map
    4 ) Once clicked launch Pop-Up
    5 ) On hitting a pop up button log data into an SQL Server CE database on the device (i.e. recording item number (string associated with item), GPS location, current DateTime and possibly some other data)

    We really want TomTom esq position tracking/map GUI functionality within our own application as opposed to slightly tweaking TomTom. Do you think this would be possible?

    Ideally we would embed the scrolling map within our existing WinForms application, and could just call functions already in there and pass them some data depending on what the item clicked is.

    Thanks very much, 

    Mark

  • 03-17-2009 7:43 AM In reply to

    Re: Capabilities of TomTom API + TomTom In the hand

    You can't embed TomTom within your application - it only runs full screen. It is possible to display your form over the TomTom screen if it is not a fullscreen form. For example you could create a form which is a narrow strip along the edge of the screen (make the form TopMost so it is always drawn above TomTom) which once you tap you can enlarge to offer more options.

    TomTom doesn't offer events when a POI item is clicked on screen. However you can retrieve the nearest POI to a specific location so for example when your custom button is pressed you look up the item nearest to your current location and retrieve the details.

     Peter

    Peter Foot
    Microsoft Device Application Development MVP
    www.peterfoot.net | www.inthehand.com
  • 03-18-2009 6:34 AM In reply to

    Re: Capabilities of TomTom API + TomTom In the hand

     Peter,

    Thanks for the response. Can you think of any way to make any GPS driven item on the map clickable, or are POIs the only option? That is a real deal breaker for us I think, because the users may wish to do items ahead or behind them as they are driving.

     

    Regards,

     

    Mark

  • 03-25-2009 8:16 AM In reply to

    Re: Capabilities of TomTom API + TomTom In the hand

    I don't see a way of doing that since TomTom doesn't expose events when POI items are tapped on screen.

    Peter

    Peter Foot
    Microsoft Device Application Development MVP
    www.peterfoot.net | www.inthehand.com
  • 04-28-2009 10:28 AM In reply to

    Re: Capabilities of TomTom API + TomTom In the hand

    Peter, Would it be possible to expand on this use of 'topmost' in the previous message?.   I need a way of toggling back from TomTom to my main app and this seemed to offer the solution.  I'm using vb.net - so the solution seemed to be a small form (topmost) at the top of the screen which I could use to contain a commandbutton and the click event on this would the 'show' the main form.  The small (topmost) form is shown on entry into TomTom from my VB app, but if I carry out any TomTom commands then TomTom takes up the whole screen again and my new (topmost) form disappears.  Is this connected to the loss of focus?, have you experienced this and more importantly any suggestions as how to keep my new small form on top?    

     Many Thanks

    Trevor

  • 04-29-2009 7:11 AM In reply to

    Re: Capabilities of TomTom API + TomTom In the hand

    I think in this case you need to handle the LostFocus event for the form and call either Activate() or BringToFront() method.

    Peter

    Peter Foot
    Microsoft Device Application Development MVP
    www.peterfoot.net | www.inthehand.com
Page 1 of 1 (6 items)
Copyright © 2001-2010 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy.