yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] _LEM_:
AWESOME! That's perfect. I think that's all what we need to have just one installation package. If you are ok, you can provide me with updates of index.php and install.php and I will put those files with my files, so you don't have to worry every time I make a change.

By doing that, we offer just one link to the users, instead of having an automatic and a manual installation.
[Windows Mobile Apps and Games] cruchot_:
French settings (FRANCE)
[Windows Mobile Apps and Games] jcleek:
Absolutely. So all you need from me are changes to:

install.php

index.php

config.php

If I make changes I will zip and email them to you and you can incorporate them in your first post. Can you clean up the first post a bit? Put the links at the top of the post so we don't have to search so far down and make the images a bit smaller? The more information added the more difficult it is to follow that post. Just my .02...

If you will grab the latest zip file and get those files from it I will delete it from my server completely. Let me know when you have it and I will remove it.

From now on if you guys want the latest of my files get them from the first post on the main page of this thread. Staryon will provide update notices in the forum.
[Windows Mobile Apps and Games] mskovrinskie:
Is there a daemon mode for TrackMe? Ideally I would like to have this start automatically in the background so that it is always running on a reboot. As it stands now, if I drop a shortcut into \Windows\Startup, it will start but it leaves the GUI in the foreground and keeps the screen from powering off.

An option to run at startup in background would be great!
[Windows Mobile Apps and Games] cruchot_:
I've juste switched my regional setting to "English (United-States)" and it's working great :D

Thank you :)
[Windows Mobile Apps and Games] cruchot_:
I've just switched my regional settings to "English (United-States)" and it's working great :D

Thank you :)
[Windows Mobile Apps and Games] _LEM_:
Ok! I just got the files. I will also change my first post. Good idea!
[Windows Mobile Apps and Games] odie3:
Well, the user/password get trips bug hit me this morning but getting the new cab fixed it. Before when I chose <NONE> for a trip name, the name would start with "Trip" then YYYYMMDD. Now it is just YYYYMMDD... why is that?

Also, all my positions had "0" for speed and Alt on my trip from home to work for some reason. I deleted most of my trips and ran it again outside my office, one time no Speed/Alt then the other 3 times it worked. Not sure what is going on there but I think *something* is lurking in the code that may not pass Speed/Alt up to the database.
[Windows Mobile Apps and Games] _LEM_:
Let me test the program with the French settings just to see if I get the same error.
[Windows Mobile Apps and Games] _LEM_:
I removed the 'Trip_' because it looks very confusing when you are using GE with the realtime tracking.

Actually still looks confusing, so I may change it again :(
[Windows Mobile Apps and Games] odie3:
I am not 100% sure but I think that export.php needs updating, where the vars need to be higher in the file, like right below "require_once('config.php');"

Or at least that is what daesimps said a few pages back.
[Windows Mobile Apps and Games] _LEM_:
Ok, I think I fixed the program. Try downloading the program again.
[Windows Mobile Apps and Games] _LEM_:
Yes, I fixed that problem yesterday. You can try to download the Installation package again from the first page. It contains the latest changes.

By the way, now we only have one installation package instead of a 'manual' and a 'automatic'
[Windows Mobile Apps and Games] jcleek:
The export.php is Staryon's code so he is maintaining the master copy.

I have removed the zip file from my server so if you try to click one of the previous links you will get a 404. Get the files from the first post of this thread.
[Windows Mobile Apps and Games] odie3:
I just downloaded the files (again) to double check, export.php has NOT been updated where the vars are under "require_once('config.php');".
[Windows Mobile Apps and Games] jcleek:
Staryon, that first post is perfect now!
[Windows Mobile Apps and Games] _LEM_:
I just downloaded and it looks fine

require_once('config.php');

header("Content-type: text/xml");

if(!@mysql_connect("$DBIP","$DBUSER","$DBPASS"))
{
echo "<Result>2</Result>";
die();
}

mysql_select_db("$DBNAME");

$action = $_GET["action"];
$username = urldecode($_GET["username"]);
$password = urldecode($_GET["password"]);
$datefrom = urldecode($_GET["datefrom"]);
$dateto = urldecode($_GET["dateto"]);
$tripname = urldecode($_GET["tripname"]);

The declaration is not exactly under "require_once('config.php');" but that's not needed, because the variables are not used yet.
[Windows Mobile Apps and Games] odie3:
Oh, this is where I got the information about it being under the config section.
[Windows Mobile Apps and Games] odie3:
Okay, I *think* I recreated the no Speed/Alt issue. What I did was remove my php.ini file so I could test the export.php file (which worked for user/password) but when I went outside to get a position it was marked with no Speed/Alt.

Then I put my php.ini in and did it again, this time I got Speed/Alt on my marker. Is it possible we need to declare a var for Speed/Alt too?
[Windows Mobile Apps and Games] odie3:
@ jcleek

On the index, instead of using php round, use php number_format - this will keep the rounding in line with Staryon's code. Sorry for not seeing that before... that's my fault.
[Windows Mobile Apps and Games] mcwtrekkie:
Just tried this app on my Athena and it works perfectly, thankyou. A truely great app :)
[Windows Mobile Apps and Games] jcleek:
Tell me what the line should say exactly and I will replace it.
[Windows Mobile Apps and Games] sarab99:
This is good suggestion hope staryon do it.
[Windows Mobile Apps and Games] _LEM_:
Thanks for letting us know! I'm always glad to hear some feedback from devices that are not Kaisers.
[Windows Mobile Apps and Games] odie3:
Example:

$html .= " var marker = createMarker(point, 'User: <b>" . $founduser['username'] . "</b><hr width=\"300\">Time: " . $row['DateOccurred'] . "<br>Trip: " . $tripname . "<br>Speed: " . number_format($mph,2) . " MPH (" . number_format($kmh,2) . " km/h)<br>Altitude: " . number_format($ft,2) . " ft (" . number_format($row['Altitude'],2) . " m)<hr width=\"300\"><b>TrackMe. Created by Luis Espinosa</b><br>http://www.luisespinosa.com');\n";
[Windows Mobile Apps and Games] mcwtrekkie:
Actually, sorry for the that. The app runs perfectly, but I've just tried loading the KML into Google Earth and the co-ordinates are wrong :( .. it say's I'm in Italy, where in fact im in the UK!

Any help would be appreciated, 'cos it's looks like a DAMN sweet app :)
[Windows Mobile Apps and Games] jcleek:
Staryon, check your PM. Need an email address to send the updated index to.
[Windows Mobile Apps and Games] _LEM_:
duplicate post
[Windows Mobile Apps and Games] _LEM_:
I'm trying to finish the current TO-DO list first, but I will take a look as soon as possible.
[Windows Mobile Apps and Games] _LEM_:
:p

yes, download it again. I use some dummy GPS positions for testing and I forgot to turn them off when I released the new version.

:D
[Windows Mobile Apps and Games] _LEM_:
hmm... I replied your PM this morning with my email address.

I'll try again.
[Windows Mobile Apps and Games] mcwtrekkie:
Thanks staryon, thought it was something like that, as it seemed to get a GPS awfully quickly which doesn't usually happen on the athena ;)

Installed the latest version now, will try to test it on my way to work in a few minutes :)

Thanks again
[Windows Mobile Apps and Games] meathome22:
problem with *.kml, comma versus point

I get an error message when loading a *.kml in g-earth or g-maps. I am quite sure the reason is my language setting to "german", so coordiantes are written xx,xxxx (with comma). I have older kml files from a previous trackme version where coordinates where xx.xxxx (point) and have no problems.
[Windows Mobile Apps and Games] _LEM_:
Do you think you can send me a PM with the KML file? It will help me to debug it.

Thanks
[Windows Mobile Apps and Games] _LEM_:
Sure. Not a problem.
[Windows Mobile Apps and Games] anarche:
strayon:

I'm getting ready to install TrackMe but I made sure to read through the whole thread first. I've used a lot of similar programs and I love the look of yours. I just had a few suggestions (most of which were already suggested)

1.) I think first priority for adding a feature would be having it save a KML file on the phone itself. It will remove the definitive need for a PHP server, and you could have the option of uploading or saving it locally. I personally think this will make your application much more user friendly for the masses :-)

2.) The google maps idea is also great. I own the Pro copy of GE, but using GMaps would be a real nice feature to incorporate. Who knows, do a good enough job who knows, maybe you could sell it to them to add into their GMAPS applications for smartphones etc etc :-)

Just my .02

-AnarchE
[Windows Mobile Apps and Games] while(!(linux)){wm}:
It would be most useful for me if you could have it make an HTML call to a URL like this:

http://mydomain.com/somepath/kmlgen.cgi?lat=***&lon=***&otherdata=***&.......

I don't really have need for an SQL at the moment. I can just parse the data coming into a script and store it as text or directly into a kml.
[Windows Mobile Apps and Games] laakness:
I noticed that on the Tilt/Kaiser if you do Tools->turn off screen it puts it into a suspend mode and causes the GPS to turn off and the program to stop logging.

I think what I'll try tonight is to leave the program running and just lock the screen. Hopefully it doesn't see it as inactivity and suspend the device itself.
[Windows Mobile Apps and Games] _LEM_:
laakness, if you are running TrackMe and you have clicked on the START button, I disable the suspend mode (otherwise it will stop logging). After that, if you click on Turn off screen, it will just turn it off, but you should still getting data.

Keep in mind that if you click on Turn off screen but you haven't pressed the START button, I don't disable the suspend mode.

All the test have been made on my tilt and works fine.
[Windows Mobile Apps and Games] warmkiwi99:
Great app!

Is there any way to delete a Trip? assume this would have to delete it on your server. Tried Delete Contents on GE but it came back again as I guess it retrieved the data from your web site
[Windows Mobile Apps and Games] ghale:
Hi Staryon,

any (good I hope) news for the problem on non english devices?
[Windows Mobile Apps and Games] xmoo:
You the man!
[Windows Mobile Apps and Games] _LEM_:
This is what I'm sending right now:

http://luisespinosa.com/trackme/requests.php?action=upload&username=USER&password=PASS&lat=20.2482086166667&long=28.2732949&dateadded=2007-10-30 9:57:10&dateoccurred=2007-10-30 9:57:10&tripname=
[Windows Mobile Apps and Games] _LEM_:
Not yet. You can delete the data associate with a trip, but not the trip name. I will add it soon.
[Windows Mobile Apps and Games] _LEM_:
Almost done. I'm testing it right now.
[Windows Mobile Apps and Games] dbaser:
staryon...

Check PM.

-db
[Windows Mobile Apps and Games] warmkiwi99:
How do you delete the data associated with the trip?
[Windows Mobile Apps and Games] ghale:
I'm here waiting for you!!
[Windows Mobile Apps and Games] hellejoep:
Works excellent

This works excellent!

I will try this later today on a longer trip.

Keep up the good work!

Cheers,

HJ
[Windows Mobile Apps and Games] _LEM_:
It's ready man
[Windows Mobile Apps and Games] _LEM_:
New version available

LATEST UPDATE:

- Support for PDAs with non english regional settings (decimal point is a comma instead of a point)

- Now you can specify a server name and a port number.

With this new version your current configuration values will be erased!

Sorry about that. I will try to repair that for a future version.
[Windows Mobile Apps and Games] _LEM_:
You need to go to Tools->Update Google Earth now.

Once you are there, you select the range and click on 'Delete Selected data'

I think it's hard to reach there. I will try to change it to a different place.
[Windows Mobile Apps and Games] MrByte:
Great App! Excellent work :)
[Windows Mobile Apps and Games] ghale:
Now I can officially confirm that TrackME is a very good program!!

Thanks,

ghale.

PS: When you are ready, we can start to work to translation.
[Windows Mobile Apps and Games] _LEM_:
One more thing... how do you generate the KML files?

Storage = 'Remote' and Export='Remote'?
[Windows Mobile Apps and Games] meathome22:
Storage = 'local' and Export='Remote'
[Windows Mobile Apps and Games] ishkatar:
Server files in ASP (or ASPX)?

Hi jcleek:

Is there anyway you could port those PHP files into ASP (or ASPX)? I would like to incorporate the traking into my server, but I really don't know anything about PHP.

Thanks a lot!!!!

Ishkatar
[Windows Mobile Apps and Games] jcleek:
Likewise I know absolutely nothing about ASP... sorry. But it is just the Google Maps API. I wrapped some features into a page but it is just the API.
[Windows Mobile Apps and Games] _LEM_:
[edited]

don't worry about it. I think I found problem.

Thanks
[Windows Mobile Apps and Games] ishkatar:
Ok ... thanks anyways ... I'll try to figure out something ... jejejeje
[Windows Mobile Apps and Games] wkm1:
the version 11/19/07 creates syntax error

GOOGLE maps reports <LookAt> and <coordinates> has a syntax error.

My file is at http://www.via.at/voxcom/route.kml

The national setting (German language ROM) now creates for example

16,3853563666667 instead of 16.3853563666667 The comma behind 16

is wrong. It's upposed to be a '.' for GOOGLE.

A working file (edited by hand) is at

http://www.via.at/voxcom/routepoint.kml

rgards

wkm1
[Windows Mobile Apps and Games] _LEM_:
Are you using Storage=Local and Export=Remote?
[Windows Mobile Apps and Games] wkm1:
everything is in 'local' or 'Locally'. I do not have a GPRS or other

realtime links active during my tracking. I have uploaded the files later on,

from my PC into the Server site.

wkm1
[Windows Mobile Apps and Games] _LEM_:
hey DoughtCom,

Are you still working on this? I remembered you said that you were working on a module in ASP.Net 2.0

It would be awesome that you can give us an update.

Thanks
[Windows Mobile Apps and Games] _LEM_:
I fixed the problem. I'm testing it now. I will be releasing a new version later today.

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

Excellent work, again! I used this throughout my trip last week and have found it performs phenomenally and provides a great way of sharing what I was up to traveling over seas!

I am planning on using my own server to host my routes, thanks to you and jcleek, now that I have things figured out, and was wondering if there is a way of getting my previous routes from your server and putting them on mine after I am done installing and configuring?

Thanks!
[Windows Mobile Apps and Games] Rescue9:
Just a guess as I have not tried this, but is it possible to open your previous routes inside Google Earth and save them kml file locally?

Had to do a complete reinstall after hard reset due to problems with someone else's crap software. I'll do a bit of tracking tomorrow to see if I find more bugs.
[Windows Mobile Apps and Games] _LEM_:
Just let me know when you have your server up and running, and I can create a script for your with all your data.
[Windows Mobile Apps and Games] _LEM_:
Yes, GE has an option to save the routes to a file.
[Windows Mobile Apps and Games] _LEM_:
New version available.

- Fixed problem generating local KML file and regional settings

- When using remote server, if timeout occurs it will retry 2 times. After that,

it won't try again until 2 minutes later (I may change this in the future so you can specify your own default values)
[Windows Mobile Apps and Games] odie3:
Staryon,

When I am driving down south out of Austin I drop from 3G to Edge and when this happens I have to turn off TrackMe and turn it back on. If I am moving from H to 3G I have no problems and I think moving from Edge to 3G/H is okay too. It's just dropping to (E)dge where I start to get connection fails (error is in red letters and I can not read the complete message).

So, any ideas about that and could it be solved with TrackMe? Or is that just the way it is (when moving from 3G to E)?
[Windows Mobile Apps and Games] _LEM_:
Odie3,

I just open a http connection, if for any reason I get an error I just display it. I cannot do anything about it. However, it shouldn't

be necessary to reopen TrackMe. As soon as the data connection is available again, it should connect.

By the way, there is a scroll bar at the bottom that you can move it right, so you can see the full messages.
[Windows Mobile Apps and Games] AndyInFl:
Could someone explain something to me? I remeber when GPS devices first came out, I was told that there was a margin of error built into civilian GPS devices that would be accurate to around 15 feet or 15 meters, something like that. It was suppose to be so that a non military person could not get an accurate fix on a site for evil purposes, etc. Is this true today?

When I view my .kml files, Google Earth shows my points anywhere from my nearly exact location to a few hundred feet away on another property while the phone is sitting stationary on my desk. Also I am about 10 miles away from the ocean with no hills. (Florida is pretty flat.) My elevation shows I'm about 100 feet below sea level. I can understand a rounding error in a calculation but what I don't understand is why the same result doesn't continue given no device movement. There shouldn't be a margin of error in points on a stationary device, should there be?

Once again, thanks to all!
[Windows Mobile Apps and Games] AndyInFl:
Staryon,

Could you make an option or default the route.kml to the name of the trip .kml so when exporting the file it won't overwrite itself?
[Windows Mobile Apps and Games] _LEM_:
Check this post just in case it helps

http://xdaforums.com/showthread.php?t=338809&highlight=static+navigation

Tilt's GPS uses static navigation, so it doesn't work very well if you don't move or you move very slowly. So far I don't think there is a way of disabling static navigation with this model of GPS

Regards
[Windows Mobile Apps and Games] cruchot_:
Hello,

It's working now with french regional settings :)

Thank you :cool:
[Windows Mobile Apps and Games] daesimps:
jcleek

I have had to put the following lines at the top of index.php in order to get the private login to work.

$username = $_REQUEST["username"];

$password = $_REQUEST["password"];

I have also had to change the following line as my server uses a non-standard port for http.

Change:

$html .= " var geoXml = new GGeoXml(\"http://" . $_SERVER['SERVER_NAME'] . str_replace($_SERVER['SCRIPT_NAME'], "", $_SERVER['SCRIPT_NAME']) . "routes/$username.kml\"); \n";

To:

$html .= " var geoXml = new GGeoXml(\"http://" . $_SERVER['SERVER_NAME'] . ":" . $_SERVER['SERVER_PORT'] . str_replace("index.php", "", $_SERVER['SCRIPT_NAME']) . "routes/$username.kml\"); \n";

This works on my server and handles http on a non-standard port and also an install directory other than trackme. Without this change the map just displayed the entire world!
[Windows Mobile Apps and Games] singrysweets:
Only work on wifi in home

Just test it in my appartment and it works great... one thing though, when i try to activate it through the internet on my phone it gave me an error... but when i turned on wifi and tried it again it work... any idea what that could be? if i'm on the go i would need the internet being that wifi is not everywhere

Any one knows why i'm only able to connect through wifi and not my media net?...any one?
[Windows Mobile Apps and Games] Tigggger:
Excellent work on this program guys..

Just a little code tweak you may find useful (now and in the future)

if (isset($_POST["action"]) && $_POST["action"] == "install")
{
$dbname = $_POST["dbname"];
$dbuser = $_POST["dbuser"];
$dbpassword = $_POST["dbpassword"];
$dbserver = $_POST["dbserver"];
$folder = $_POST["folder"];
$apikey = $_POST["apikey"];
$googleview = $_POST["googleview"];
$username = $_POST["username"];
$bgcolor = $_POST["bgcolor"];
$html .= " </div>\n";

to

@extract($_POST);
if (isset($action) && $action == "install"){
$html .= " </div>\n";

That automatically asigns all the variables to the names used in the POST, which in this case they are all the same. The same is possible with @extract($_GET) to get variables from a URL so .php?blah=1&something=2 does the same as $blah = $_GET["blah"] etc

Hope this helps
[Windows Mobile Apps and Games] powerppc:
JCleek,

Anyway to make the breadcrumbs to a smaller points and the latest position to have the big points? The way I see Google Maps is that it's confusing to see where I am currently if all the points have the same size. Especially if there are more than 30 points. Thanks for making it work, it's nice.

One more thing, since you are savvy at making Google Maps work with Luis stuff, could you try to make it PDA compatible with Yahoo Maps? It still won't be real time, but it gives people who wants to track their friends or family while on the move could be done through their PDA. That way, the mapping software don't have to be in the Trackme itself, making it more stable and less bloatware.

I've done some research and the way Yahoo Maps api works is that it reads the XML Lat and Lon. And you can specify the size of the map, making it compatible to PIE. Like this for example <a href="http://gws.maps.yahoo.com/mapimage">http://gws.maps.yahoo.com/mapimage</a>.

The developer site for Yahoo Maps API is <a href="http://developer.yahoo.com/maps/">Here</a>.
[Windows Mobile Apps and Games] jcleek:
Sounds to me like you have enough information on Yahoo maps to give it a go yourself! I didn't know anything about the Google API until I started this project so...

As for changing the images based on last location I am not sure. Right now I am trying to figure out how to tie each point together in the order traveled like is shown on the KML display.
[Windows Mobile Apps and Games] jcleek:
Questions about historical data:

1) I am thinging about making the historical maps show a green icon for a start point and red icon for end (or current location) point

2) I am thinking about stringing the points together like on the KML files

What do you guys think?
[Windows Mobile Apps and Games] daesimps:
I was just about to post to ask if the archive view could plot lines to show the order of the points so I can work out the route taken.

You must be a mind reader:)
[Windows Mobile Apps and Games] _LEM_:
Do you have an example of showing a KML file with Yahoo maps?
[Windows Mobile Apps and Games] _LEM_:
Sounds good.
[Windows Mobile Apps and Games] jcleek:
Figured out the polylines for a trip from the database.

Go here and click the SHOW ARCHIVE button. Notice the polylines between points?

Next is custom colored icons for the first and last points in the trip. When I figure that out I will send Staryon a new file for the zip.
[Windows Mobile Apps and Games] daesimps:
Staryon,

I have noticed that requests.php is missing 2 declarations, resulting in no speed/altitude data

The following 2 lines need adding near the top with the rest of the declarations.

$altitude = urldecode($_GET["altitude"]);

$speed = urldecode($_GET["speed"]);
[Windows Mobile Apps and Games] _LEM_:
Thanks for letting me know. I just fixed it.
[Windows Mobile Apps and Games] odie3:
Gee, that is what I was saying a few post ago (just did not know how to fix it). :(
[Windows Mobile Apps and Games] odie3:
daesimps, what about doing it like Tigggger suggested? I am not really sure what he mean but I am guessing with his code you do not have to remember declaring every new var...