yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] RobsTV:
I had problems at first, but then realized I simply did not click on the green arrow start icon.

What the heck is "GPS Intermediate driver"?

My Touch Pro has never needed any special driver to work with any GPS app or mapping software.

EDIT. Just read a little, then looked in registry, and it is enabled and used by default with our WM6.1 phones. Seems the posts that discuss this were made for use with WM5 although I could be wrong since only spent a couple minutes searching, and since no issues here with WM6.1 and GPS.

Settings here that work fine are (not sure if all are required, but it works):

In Sprint Touch Pro settings, external GPS,

programs = com8

hardware = none, 4800

access = checked, manage GPS automatically.

In Trackme:

Menu/config/source =

Cell ID not checked since it does not work with Sprint

GPS checked, com8, 4800, 1 sat lock required.

Also recently changed to box checked for disconnect/connect GPS power saving.

I suggest you do not use power saving until you confirm it all works.
[Windows Mobile Apps and Games] tichuiche:
Hello,

I installed today the last version on my Touch HD.

As well as the last version of the waiter, when

I make a “force update", I have the following error message:

"Error Colum "speed" cannot be null.

and no data is sent on the server.

have an idea?

My structure is :

Champ Type Interclassement Attributs Null Défaut

Speed..Double..................................NON....0

Many's thanks for your help in this matter
[Windows Mobile Apps and Games] BabyJesus:
Well, the experiment was only partially successful. I've got a nice collection of points, but when I want to export these to a .kml - even when I specifically check ONLY 'Destination location file(s)' as Local, not Remote - TrackMe makes a data connection.

I don't even want to know how much that has already cost me.

So please, I need your help again: how do I create a .kml on my phone, that I can load into my computer to use, without ever making a data connection with my phone?

Cheers!
[Windows Mobile Apps and Games] _LEM_:
KML/GPX files are generated on the server, so offline data need to be uploaded first. Offline data is no valid data for anything until you upload it.
[Windows Mobile Apps and Games] sudermatt:
This worked for me....

Thank you for taking the time to step-by-step it for me.

Honestly, I swear I did all these steps...the only difference is, I never tried port 8....maybe that was the difference.
[Windows Mobile Apps and Games] _LEM_:
You have probably missed one or more database updates on your server.

I suggest you to make a search on this thread by "ALTER TABLE" so may find what updates are missing.

Since a few versions ago I always post the database changes in the Release history of the program (http://luisespinosa.com/trackmerelease_eng.html). However, your problem seems to be older than when i started doing that, so you will have to try to make that search.

Good luck!
[Windows Mobile Apps and Games] BabyJesus:
O my. Is it at all possible to do an offline export of the coordinates that have been recorded? If not, consider this a kind feature request :)
[Windows Mobile Apps and Games] emay:
Staryon,

Trackme no longer stays in memory after exit, since I have changed the GPS settings. It now connects to my 'program port' and no longer to the hardware port at a baudrate of 4800, where e.g. TomTom needs to be connected to the hardware port. Thanks for all your support and this wonderful program.
[Windows Mobile Apps and Games] _LEM_:
That is great. I really checked that issue several times but I couldn't find anything. Maybe it's a problem with drivers or how WM manages the memory when accessing COM ports but who knows... I'm glad it works now!
[Windows Mobile Apps and Games] turtle2472:
staryon,

Just a little FYI. After flashing to NATF 4.6 for the Fuze I've had zero issues with TrackMe crashing. Seems it didn't like the stock ROM or radio for the Fuze. :|
[Windows Mobile Apps and Games] _LEM_:
That's weird because I had the stock ROM and radio for a long time before flashing it for the first time. :confused: who knows....
[Windows Mobile Apps and Games] chinloyfock:
fail to load

Hi, I am new in xda-developers, and i am not good in all kind of system, but I love to try out new thing in my Omnia 16Gb. On this topic, I really need help to get it work. I did download the program into my Omnia, Insatll done, but once i try to load the program this messege come on screen " This application requires a never version of Microsoft, Net compact Framework than the version installed on this device", I have no ideahow it happen, Guy, Please help. I need this program to work on my Omnia. Appliciate your help in advance. TQ
[Windows Mobile Apps and Games] toksmurfen:
Hi,

I used to use TrackMe last summer for the fun of it and it worked great, I've now updated my phone (HTC Diamond) and reinstalled the latest version of TrackMe and it doesn't work.

When the program aqquires a GPS lock it says Error CheckGeofence: [ IncludeLocation ] and after storing an offline position it immideatly says Error: Unidenitfied error [ CellID ] and then it goes on like that forever and I cannot save the any positions or upload the .kml fil to the server I'm using.

Any ideas what might be wrong?

Cheers Daniel

Update:

Solved the problem by uninstalling the program and then reinstalled it again.

//Daniel
[Windows Mobile Apps and Games] _LEM_:
Hi chinloyfock,

You need to install the Microsoft Compact Framework 3.5 and the SQL Server Mobile 3.5

You can find both in the first post of this thread.
[Windows Mobile Apps and Games] beacherx:
hi,

this program is unbelievable!!!

But I have a little problem to export my positions, i have the latest version and i can't create a username and password, ( combination invalid)

How can i do?

thanks
[Windows Mobile Apps and Games] _LEM_:
Maybe the user is already in use. Did you try a different one?
[Windows Mobile Apps and Games] deuzeff:
There's a TOC, it's a javascript menu on the left? Does it not show up?

I have to write something for people who have disable Javascript or if for any reason their browser does not support it.

I would love to improve this first release of the tutorial I made few weeks ago but I have no time for now, I'm never home :(.

I promise I'll go on improving the tutorial asap.
[Windows Mobile Apps and Games] pixelk:
Hello and thanks for this great software and all the documentations.

Would it be possible to send a hash of the user's password to request.php rather than the password in cleartext (I can modify the PHP, but not TrackMe) ?

What about a login/hash protection for the other requests too (e.g. cellid, gm) ?

I found the whole TrackMe solution much more advanced than other (non-free) solutions, but lacking on the security side.
[Windows Mobile Apps and Games] _LEM_:
Unless we have a SSL connection to the server it's not worth it.

If I send the password encrypted a potential attacker can trace it and retrieve that encrypted password. Then he just needs to use that to get access to the user records. If you think about it it doesn't make a difference in sending the password in clear text or not. Of course, if we have a SSL connection everything changes.

Passwords are stored encrypted in the database though.
[Windows Mobile Apps and Games] pixelk:
i'm not talking encryption, it would indeed be useless, but about identification.

you could, for example use a hash of the password salted with the coordinates so that only that user can update his data. even if an attacker gets the hash, it would be useless and it would not get the pass.

SSL support would be a plus, but hashing the pass (with salt) or a simple data checksum would be welcome. At least you could be sure about the integrity of the data and not reveal the password.
[Windows Mobile Apps and Games] _LEM_:
Thanks for the hint.

Could you provide an example?

You have to keep in mind that we need to reverse the process on the server side, so we can extract the password and comparing it with the one stored in the database. On the other hand, whatever calculation you do on the server side will be known by everybody because the PHP web pages are public.
[Windows Mobile Apps and Games] pixelk:
Client has Coords X, Y, password P, Salt S

Server has MD5(S+P) as HASH in database

Client sends X Y MD5(MD5(S+P)+X+Y)

Server compute MD5(HASH+X+Y) and compares it to the MD5(MD5(S+P)+X+Y) sent by the client.

If MD5(HASH+X+Y) = MD5(MD5(S+P)+X+Y) then

- it's the good pass, without knowing it

- the coordinates are not tampered

You could replace Coords X Y by any part of the data you want to be sure of the integrity.

It doesn't guarantee that it's not a replay of a previous entry and it doesn't guarantee that it's our user. For full user ident you'd need a challenge response sheme, but it get a bit complicated.

The password is never visible and the data integrity is guaranteed.
[Windows Mobile Apps and Games] Yuve:
thank u sooo much .. i was in need with this kindda software .... :)
[Windows Mobile Apps and Games] _LEM_:
Thanks for that example.

By doing that we wouldn't need a Password column in the db, right?

It would be replaced by that HASH value.

One more thing, if I understand correctly the client should still send the username in plain text so the server can retrieve the HASH value for that user. Is that correct?

I will add it to the to-do list. Thank again
[Windows Mobile Apps and Games] turtle2472:
It was the issues of JS and me not looking over the left side. I normally use FireFox with NoScript.
[Windows Mobile Apps and Games] pixelk:
It's not mandatory, but that method would indeed render the storing of the (encrypted) plaintext password in the db useless, as you don't need the password, just the HASH.

The username is not needed anymore but it's easier to deal with a username after identification than with a hash, so it's a good idea to keep it (even if it was only for display reasons).

Thank you very much for taking my proposals into consideration. If I can be of any help, don't hesitate to ask.
[Windows Mobile Apps and Games] tolgaulas:
cellid results as cache

Hi,

Is it possible to cache the fetched cellid coordinates in the mobile for not re query the server each time?

Thanks.
[Windows Mobile Apps and Games] _LEM_:
Sorry but that's not possible.
[Windows Mobile Apps and Games] hartlijn:
ouch man, I love this tool.

I got two questions tho:

is the kml/gpx file of a track stored locally? I'd like to be able to save them and top open them later in a tool that allows graphical display of my track, without uploading the data to a website.

are there plans to create a live feature to show the current track in a google-maps-a-like plot on the PDA? That is without uploading it first. That would make this tool perfect for my biketrips :)

I am very interested in the development of the webviewers as well.

Keep up this good work!
[Windows Mobile Apps and Games] _LEM_:
hey, thanks for your comments! :)

The kml/gpx files are always generated on the server, so your data needs to be uploaded first. Once you generate the kml/gpx file you can download it to your PDA automatically.

I don't think so. The reason is because there are already many tools for live tracking on your PDA and TrackMe is not really a navigation tool.

However, who knows, I may change my mind in the future and add that feature! ;)

Regards
[Windows Mobile Apps and Games] .wojtek:
Just a quick question (I've skimmed the whole topic, but didn't found the answer...) - when using without GSM and only cellID info is being used does track me interpolate location from a few towers and their signal strength? If now, would id be somehow feasible to add/achieve?
[Windows Mobile Apps and Games] tahdor:
Staryon, humble request and question. Do you plan to implement this soon. The GPS kills battery around 10 - 15% an hour if inside the building when GPS is getting locked. I looke around, none of the app does this. I tried opening and closing ports using perl. I am able to do it on windows, but not on WM. Please consider inplementing the closing the GPS if locked not achived in certain number of NMEA messages. This will save lot of battery.

Thanking You.
[Windows Mobile Apps and Games] _LEM_:
No, I don't do that. Basically I just get the MCC,MNC,LAC and CID parameters and I pass that to Google, OpenDB or whatever database you are using. I'm not sure how they do the calculation internally.

However, if somebody has some information about triangulation and how it can be done with that information that I get from the phone provider please let me know.
[Windows Mobile Apps and Games] .wojtek:
I think they only search for location on cell tower with given identyfication and put it on map. Getting more precise location would involve quering for several cels (with signal strenght i presume?) getting their coirdinates back and then calculating position based on that information. It would require more data to transfer I suppouse.

Doing a quick search I've only found http://en.wikipedia.org/wiki/GSM_localization#Examples_of_LBS_technologies (don't know if it would be userful...)
[Windows Mobile Apps and Games] Ressor:
Does this work on the verizon "CDMA/EDGE" network and phones? I have a Samsung i760 that I installed your application on and it runs fine, but keeps getting ERROR:Cell id not recieved in 3s / No valis positions available.

Thanks,

Ressor
[Windows Mobile Apps and Games] _LEM_:
Check this link FAQ
[Windows Mobile Apps and Games] Ressor:
One more question that I did not find an answer to in the FAQ...

Is there a blackberry version?
[Windows Mobile Apps and Games] _LEM_:
I'm sorry but there is not.

There is going to be probably an iPhone version in the future so I may consider one for blackberries as well. However this won't be anytime soon!
[Windows Mobile Apps and Games] khaytsus:
What about a Palm Pre version?

*twitches* Can't really afford to change platforms again though, god knows how much WM hast cost me.
[Windows Mobile Apps and Games] cubanlorenzo:
cant find where to enter username and password

I hit the config icon and nothing comes up that asks me for a username a password. without this i cannot use anything in the program. I must be going crazy..

EDIT:: Found it. I was going crazy!!
[Windows Mobile Apps and Games] Andicot:
Is working on HTC Diamond 2?

I receive error with .net framework but i have installed it.
[Windows Mobile Apps and Games] _LEM_:
Yes, TrackMe is compatible with any devices running Windows Mobile 5 or 6.

What error do you get?
[Windows Mobile Apps and Games] Andicot:
Sorry, i don't have installed the SQL Server Mobile

now is working.

Thank's
[Windows Mobile Apps and Games] _LEM_:
Not a problem. I'm glad it works now.
[Windows Mobile Apps and Games] Andicot:
If i not upload the positions to the server where i can find the kml or gpx files to transfer to the pc?
[Windows Mobile Apps and Games] _LEM_:
In order to generate the kml/gpx files the positions need to be uploaded first to the server.
[Windows Mobile Apps and Games] odie3:
Sorry, typo on my part, I meant request
[Windows Mobile Apps and Games] odie3:
MD5_Hash it and then it's okay, I think...
[Windows Mobile Apps and Games] _LEM_:
ok guys, so what should I use?

$_REQUEST or $_GET?
[Windows Mobile Apps and Games] MPIIIMan:
$_REQUEST is the same as GET and POST

For example.

If you were passing something via post or get, you can call it using REQUEST.

Do MD5Hash like Odie suggested. That's probably the safest, but may be a little more work.

BTW. I'll be around all day, if you have any questions you can hit me up on AIM or Yahoo.
[Windows Mobile Apps and Games] adebilloez:
+1, try to avoid passing too sensitive info in the url. But for other security stuff, we can secure this by using SSL on server.
[Windows Mobile Apps and Games] jcleek:
Not everyone has SSL, and those that do may not have a cert from the trusted list which would generate a certificate error on every position upload. Better to secure the application than to rely on something else to do it for you.

Another reason to not allow the application direct access to the database is that you would have to give every user youe MySQL account information which is going in the wrong direction.

Something for all of you to keep in mind is that my map file (index.php) is completely seperate from Staryons files. If your install isn't displaying maps you need to go back to the application first and make sure data is being populated in your MySQL tables and that you have KML files being created in the routes folder. If those things aren't there then you need to check your configuration of the application and get that working first. With no data there is no maps.
[Windows Mobile Apps and Games] jcleek:
One more thing: I see a lot of people with suggestions on how to improve the code, but I see little in the way of someone actually taking the code and making changes to it to specify exactly what needs to be changed. If you know what needs to be changed to make the code better and more likely to work for everyone, CHANGE IT. This is larger than just Staryon at this point, it is more of a group effort. So if you are here and can offer something, DO IT. Stop complaining about what is broken and how WE should fix it. Make the code changes and share it with others. Put your money where your mouth is and stop complaining that someone didn't do this or that. Help make the project better.
[Windows Mobile Apps and Games] odie3:
Agreed, but with needing Globals enabled a lot of user will have issues, luckly for me I can create a php.ini and pop it in my directory and enable Globals so I can log-in from the PDA Application.
[Windows Mobile Apps and Games] odie3:
Hey, I hope that is not directed at me cause I am not pretending to be a PHP, MySQL, or any other coder. Especially with making code safe! A best I am a beta tester (which I do in real life) so while I have some understanding, its at the 20,000 foot level.

Heck the stuff I have posted so far has been me using "google" to search on the "subject" and to provide "backup" for my suggestions.
[Windows Mobile Apps and Games] adebilloez:
I agree the problem (for me) is not index.php...

I don't have any information in the DB because the application fail to communicate with upload.php as I have no clue (except that some info seems to be passed by the url, interpreted by upload.php, and finally store in Mysql)

SSL valid cert ? ok ! on smartphone it's more complicated to add your own authority reconized. But on PPC it's an easy task. I can understand that you prefer to not rely to SSL and have your own authentication but this is also sensitive in term of security...Personaly if I need security I will use a client certificate in my PPC and use SSL (pki)...
[Windows Mobile Apps and Games] _LEM_:
upload.php is used to upload the kml local generated file to the server (in case you are using that option). The data is sent using a regular HTML form. When the data is received, the server puts the file in a temporary folder (it does that automatically). After that in the script it will take that file from the temporary folder and it will move it to the 'routes' folder, renaming it using the username as a name of the file.

ALL my testing is done using my web hosting. So if my web hosting lets me to do these things (and they usually are very restrictive) you should be able to do the same with yours. The problem is I don't know what settings you need to change because my experience with PHP is not great.
[Windows Mobile Apps and Games] MPIIIMan:
Here is what I would recommend.

If you can use a method in your application to "post" the variables to the remote server then that would be optimal, you wouldn't be limited to the number of characters that can be passed, if you can't use "post" then continue using "get" method.

In your application you currently have a spot that allows us to enter username / password. But that is not the user / pwd used for MySQL.

I would add another spot that allows us to enter the MySQL information directly into your application. (Only if the advanced configuration is set)

Before you pass everything to the remote server, MD5 all usernames and passwords.

Now in requests.php you will have to add some code to compare the MySQL usernames and passwords.

This is just a quick bit I wrote up, but you should get the idea

$mysqluser = "testuser";
$mysqlpass = "testpass";

$mysqlusermd5 = urldecode($_GET["mysqluserfromapp"]);
$mysqlpassmd5 = urldecode($_GET["mysqlpassfromapp");

if(md5($mysqluser) == $mysqlusermd5) {
$checkuser = 1;
} else {
$checkuser = 0;
}
if(md5($mysqlpass) == $mysqlpassmd5) {
$checkpass = 1;
} else {
$checkpass = 0;
}

if($checkpass == 1 && $checkuser == 1) {
//Continue
} else {
//End username and/or password do not match.
}

If you have any questions, please hit me up on AIM or Yahoo.

I really love this application you wrote and want to do whatever I can to help you all out in making it even better.
[Windows Mobile Apps and Games] _LEM_:
MPIIIMan,

Thanks a lot for your suggestions. I will try to add those ideas to the program gradually.

Regards
[Windows Mobile Apps and Games] jcleek:
Staryon,

Can you load up my stuff on your server, but replace the index.php with this one and give it a shot? You have a lot of data on your server and can run it through its paces. It is a page with the option of being public or not, and it is hard coded at the moment for private access.

rename to index.php and overwrite the existing one.

Extract file and rename to index.php
[Windows Mobile Apps and Games] MPIIIMan:
One more thing.... If you want to make things even safer, you should always clean any post or get variables.

With code that is somewhat open to the public such as this, evil conspirators can do things to try and perform cross site scripting by passing malicious code using the URL string.

Here is a function I wrote that will check for malicious code in the GET and POST array.

function clearnPostGetCookies() {
if (count($_GET) > 0) {
foreach ($_GET as $secvalue) {
if (!is_array($secvalue)) {
if ((eregi("<[^>]*script.*\"?[^>]*>", $secvalue)) ||
(eregi(".*[[:space:]](or|and)[[:space:]].*(=|like).*", $secvalue)) ||
(eregi("<[^>]*object.*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*iframe.*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*applet.*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*meta.*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*style.*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*form.*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*window.*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*alert.*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*img.*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*document.*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*cookie.*\"?[^>]*>", $secvalue)) ||
(eregi("\"", $secvalue))) {
die("Malicious code detected");
}
}
}
}
if ( count($_POST) > 0) {
foreach ($_POST as $secvalue) {
if (!is_array($secvalue)) {
if ((eregi("<[^>]*script.*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*object.*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*iframe.*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*applet.*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*window.*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*alert.*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*document.*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*cookie.*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*meta.*\"?[^>]*>", $secvalue))
) {
die("Malicious code detected");
}
}
}
}
}

Then on your php pages near the top add the following line:

clearnPostGetCookies();
[Windows Mobile Apps and Games] MPIIIMan:
Staryon if you could provide the latest zip with your PHP files. I will edit them and send them back to you to help ease up the coding you need to do.
[Windows Mobile Apps and Games] jcleek:
Awesome! THAT is what I am talking about!
[Windows Mobile Apps and Games] jcleek:
If anyone else wants to test out a non-public implementation of the Google Maps page go to:

http://www.getcis.com/trackme/index2.php

You can log in with:

User Name: Test

Password: test

Both are case sensitive. Let me know if you run into problems.
[Windows Mobile Apps and Games] MPIIIMan:
Works good jcleek!

I'll check out your other code for any issues while I go through Staryon's

It's Big 10 day so my ass is glued to the couch.

Go Michigan!!!!!!!!!
[Windows Mobile Apps and Games] odie3:
very nice!