View previous topic :: View next topic |
Author |
Message |
ispartacus75 Occasional Visitor
Joined: May 06, 2005 Posts: 54
|
Posted: Sun Jun 12, 2005 11:50 am Post subject: Question for TT SDK users |
|
|
I need to know if a project is possible using the SDK.
I am a cab driver and have been planning a program to run with TT.
I want the program to collect distance data from the gps while driving from point to point and then refer the mileage to a table where it comes uip with a cost for the distance. So for example 2.4 miles - £4.40.
Most importantly I want the program to run from WITHIN Tomtom. So once a route is calculated tap a harware button to initiate fare proggram and tap it again to calculate cost. Ideally I would liek to add the buttons to the TT menu as there are other options to consider, like waiting time, different fare tables depending on time of day and customer type.
Is this all possible of does the SDK jsut alow you to develop externally controlled software?
Thanks in advance guys |
|
Back to top |
|
|
nej Frequent Visitor
Joined: Jun 16, 2004 Posts: 454 Location: London, Ingerlund
|
Posted: Mon Jun 13, 2005 11:26 am Post subject: |
|
|
What might be easier is to get hold of something like GPS Gate and send one NMEA string to TomTom and another to your own app, and then calculate it based on the nmea data itself. |
|
Back to top |
|
|
ispartacus75 Occasional Visitor
Joined: May 06, 2005 Posts: 54
|
Posted: Tue Jun 14, 2005 8:14 am Post subject: |
|
|
Does that mean it has to be operated outside of the TT software??
Ideally I would like it to run from inside |
|
Back to top |
|
|
nej Frequent Visitor
Joined: Jun 16, 2004 Posts: 454 Location: London, Ingerlund
|
Posted: Tue Jun 14, 2005 9:18 am Post subject: |
|
|
I don't know what you mean by "outside" the software. Even using the SDK you will still be writing a separate application by either using an activeX control (in SDK3) or by adding libraries to your project (in SDK5). I don't know what you code in, but if you don't use eVC then you won't be able to use SDK5 (at least not easily). |
|
Back to top |
|
|
ispartacus75 Occasional Visitor
Joined: May 06, 2005 Posts: 54
|
Posted: Tue Jun 14, 2005 9:13 pm Post subject: |
|
|
Hi nej and thanks for your reply.
By outside I mean that I would liek to run my program from inside TT, so under the navigate to button in the tt menu there would be a start fare button. This would be prefered rather than having to minimise the tt screen to run a seperate program.
Essentially this is writing code and incorporating it as part of tt3. Is this what the SDK does or does it just help to develop external software that runs alongside TT as opposed to it being built in.
As far as code goes this would be my first project as I have never written a program before, but hey it took me 5 minutes to learn HTML and write a 5 page website, and I mean write, as in Notepad and proper html, none of these cheat programs that write the code for you.
I can see huge demand for my program within a certain community and definately would like to try it and use my TT3 as a guinea pig. |
|
Back to top |
|
|
nej Frequent Visitor
Joined: Jun 16, 2004 Posts: 454 Location: London, Ingerlund
|
Posted: Wed Jun 15, 2005 9:47 am Post subject: |
|
|
It is possible to customise the menus to launch external applications using the SDK5 (which is still in Beta and not yet available to buy), so yes, you could have a system of tapping the screen and having a "Start Fare" button underneath the Navigate To icon. That icon could then launch your application, or at least bring it to the foreground.
You could then either use the SDK to request the current position every second and calculate the distance travelled by the differences in lat/lng (which ISN'T as simple as just subtracting the current lat/long from the previous lat/long ). Alternatively you could use GPSGate and read the NMEA. If you've never coded before then probably the SDK way is easier, as you don't have to learn how to do all the comms handling.
Finally, SDK5 only works from within eVC++ which is not the easiest starting point, but if you're determined then go for it! |
|
Back to top |
|
|
nej Frequent Visitor
Joined: Jun 16, 2004 Posts: 454 Location: London, Ingerlund
|
Posted: Wed Jun 15, 2005 9:49 am Post subject: |
|
|
I should've mentioned - if you are using TT3 then the SDK5 will be no use to you, so either upgrade to TT5 or use SDK3, which doesn't support the ability to change the menus, but does let you launch applications from the popup menu you get when you tap and hold on the map (as opposed to the navigator) screen.
For future-proofness though, go for TT5/SDK5. |
|
Back to top |
|
|
|
Posted: Today Post subject: Pocket GPS Advertising |
|
|
We see you’re using an ad-blocker. We’re fine with that and won’t stop you visiting the site.
Have you considered making a donation towards website running costs?. Or you could disable your ad-blocker for this site. We think you’ll find our adverts are not overbearing!
|
|
Back to top |
|
|
|