PPP Forum

Information and discussions about our products
Welcome to PPP Forum Sign in | Join | Help
in Search

Breaking changes: our new Navigation solution partner is Sygic

From TomTom to Sygic:
Over the years our former navigation provider reduced his SDK more and more to drive his own business solutions.
Finally a SDK is no longer available!
Looking for an alternative solution we found www.sygic.com/tomtom-sdk.
Why we recommend Sygic:
  • Good support at first hand
  • A modern Navigation Solution (with actual maps)
  • Native .NET support in the SDK (no need for third party solutions)
  • Many operating systems support including Linux and Android
  • A partner which is even able to adapt the Navigation solution to your needs.

Can't get Test application to work!

Last post 03-25-2009, 16:16 by MarkWhelan. 5 replies.
Sort Posts: Previous Next
  •  03-24-2009, 18:09 1270

    Can't get Test application to work!

    Hi, were do I start.

    I have downloaded your TTNCF and successfully activated, I have also downloaded and installed TomTom SDK version 6.

     

    I added the PPPTTCF6_0N2.dll to the references; I have also added the generated PPPTT6_0Helper.dll to the project and set to copy, I’m deploying to Mobile 5 using VS2005 and my TomTom version is 6.010.

     

    The Test application deploys successfully to my device, when I click the top right hand button ‘TTN’ TomTom application starts in front of frmMain and when TomTom is loaded only the title bar of the test application appears at the top of the screen and TomTom is still visible below the title bar and neither TomTom or the test application will responded to any user input, when I click stop debugging on VS2005 TomTom becomes active on my device.

     

    I hope you have the solution as I have spent hours on the forum to try and solve this problem, I have also read the install files.

     

    Thanks Mark


    Profesional Business PDA Applications: http://www.satmonkey.co.uk
  •  03-24-2009, 22:51 1271 in reply to 1270

    Re: Can't get Test application to work!

    Hi,

    did you try if the same happens without debug? (Start with CTRL+F5)?

    By the way - most likely your problem is related to the "Start TTN problem".

    The TTN button calls "BringNaviToForeground" - which results in the well known problem...
    Short description (but since you have been hours on the forum you surely have seen it):
    TTN starts from the SDK - the SDK places a "call file" in \\TomTom\SdkFileCalls
    TTN comes up - and before the "SDK Part" is really initialized it tries to handle the call - what fails.

    So try two things:
    a.) Use StartTTN button instead of TTN on top
    b.) Run without debug (you can use debug - that's just to be sure there are no problems with this)

    AND IMPORTANT - clear \\TomTom\SdkFileCalls before new tries (especially after a crash)

    Regards

    Manfred
  •  03-25-2009, 12:02 1272 in reply to 1271

    Re: Can't get Test application to work!

    Thanks Manni, all the problems were due to this function:

    TTN.StartApplication()


    Profesional Business PDA Applications: http://www.satmonkey.co.uk
  •  03-25-2009, 12:52 1273 in reply to 1271

    Re: Can't get Test application to work!

    Hi Manni, now that I found the problem with the test application I have started making my own app, my app has one button with this code behind:

    If PPPTTCF6_0N2.TTN.IsApplicationRunning <> 1 Then
       
    PPPTTCF6_0N2.TTN.StartTTN(Me, 15, 3)
    End If

    TTN.SwitchToNavigatorView()
    TTN.BringNavigatorToForeground()
    TTN.NavigateToPostalCode(
    "UK", "EH54 5NS", "")

    Problem is that I get the same error as explained above. However if I run this part of code on button one:

    If PPPTTCF6_0N2.TTN.IsApplicationRunning <> 1 Then
       
    PPPTTCF6_0N2.TTN.StartTTN(Me, 15, 3)
    End If

    Then this part of code on button two it works fine:

    TTN.SwitchToNavigatorView()
    TTN.BringNavigatorToForeground()
    TTN.NavigateToPostalCode("UK", "EH54 5NS", "")

    Do you have any sugestions as I don't want my user to click one button to load TomTom then another button to Navagate to an address.

     

    Thanks Mark


    Profesional Business PDA Applications: http://www.satmonkey.co.uk
  •  03-25-2009, 13:13 1274 in reply to 1273

    Re: Can't get Test application to work!

    Hi,

    it is the same problem again.

    Starting TTN makes problems. Our StartTTN function helps in most situations.
    BUT - with TTN 6.x the things became worse.
    So you have to handle the situation where you find that TTN is not running in a special manner.

    The last post of this thread shows a possible solution (we use it also in our apps):

    http://forums.pp-p.com/forums/thread/1242.aspx

    Regards

    Manfred

  •  03-25-2009, 16:16 1276 in reply to 1274

    Re: Can't get Test application to work!

    The timmer trick done the job.

    Thanks for all your help.

     

    Mark


    Profesional Business PDA Applications: http://www.satmonkey.co.uk
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems