yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] mcross:
Trackme EXT updates

it will now pull some values from the config.php file.

in the config.php I changed the valid values for the language settings, everything else is the same so you just update that one line you can leave the rest for the file as is.

added option to choose Language, Units and also to show bearings or not.

The language files are under the directory 'locale', I only added Spanish and Italian because its time consuming, I used google Translator so if its wrong not my fault.

enjoy.

had a few errors in first upload, found problems, it should now work in all browsers. added another default value 'charset' to config file. now when changing language the calendars will change too.
[Windows Mobile Development and Hacking General] sebguilbaud:
little bugreport for webinterface

I've used trackme to record a track of a full week (holidays !!), and I've discovered that GPX files must have timestamps in UTC time. All calls to

date()

in download.php should be corrected to

gmdate()

to make GPX export really useful (geotagging for instance).

with this correction, I've been able to geotag quite accurately 95% of my pictures (~700)
[Windows Mobile Development and Hacking General] UltimaRB:
I came across an error when installing TrackmeEXT on the same domain with a wordpress install.

I get the following error when loading the index.php page as a popup in firefox

Not Found (Error 404)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

Followed by what looks like my wordpress theme trying to load.

If I remove my .htaccess I get the following error.

Not Found (Error 404)
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /trackme/locale/english/LC_MESSAGES/messages.po was not found on this server.</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>

Firebug console shows the following:

GET hxxp://domain.com/trackme/locale/english/LC_MESSAGES/messages.po
GET hxxp://domain.com/trackme/locale/english/LC_MESSAGES/messages.po

404 Not Found	219ms
Gettext.js (line 1157)
Error: Gettext 'try_load_lang_po' failed. Unable to exec xmlhttprequest for link [hxxp://domain.com/trackme/locale/english/LC_MESSAGES/messages.po]
[Break on this error] throw new Error("E...tprequest for link ["+link.href+"]");

Basically it's pointing to a folder that doesn't exist. "english" instead of "en".

Code is asking for /locale/english/LC_MESSAGES/messages.po

Directory structure is /locale/en/LC_MESSAGES/messages.po

SOLUTION

install.php line 525 creates language preferences as "english" "italian" etc.

In config.php line 73:

$language = "english";

Should be:

$language = "en";
[Windows Mobile Development and Hacking General] luke.kemp:
Server size Zoom

Hi, I'm new to this group.

I've just set up a copy of track me on my own web server, and its running sweet, with the exception of one thing. When I try and zoom with my wheel on my mouse, it doesn't like it at all, but if I try and zoom with the buttons on google maps - its fine..

Does anyone have any idea what this is caused by, or how to fix it?

Thanks

Luke
[Windows Mobile Development and Hacking General] _LEM_:
hey guys,

I just wanted to drop a few lines to let you know that I haven't forgotten you! ;)

The company that acquired TrackMe is still working on other projects, so I haven't got any updates about when I will be supporting the software again.

Sorry about that, but you guys know how this things work...

I'm glad the thread is still active. I hope it recovers the regular activity once I get back to this project. Hopefully not in a long time...

Regards!

Luis
[Windows Mobile Development and Hacking General] _LEM_:
I just saw your post!! Thanks a lot, mcross. That's great news!

I hope I can take a look at this soon and update the official version.

I really appreciate your hard work.

Cheers
[Windows Mobile Development and Hacking General] ebliss:
There is a small error in TrackMeEXT for the popup pictures. Basically, when you click on the small picture, the link is pointing to the wrong url because of "target=_blank" attached to it.

Search in trackme.js for

/* this is for the google map popup bubble */

in the next line, look for 'target=_blank> and put a space between ' and target.
[Windows Mobile Development and Hacking General] vr_driver:
Wow!

So I've been having a play with this software, and I'm really impressed. It's something I've been wanting to do for a long time. Well done.

I can already see a mass amount of potential, and I've got about 4 months before we have our big ride, so I'll be looking forward to adding to the development of this if possible with any features I see I can add.

-Steve
[Windows Mobile Development and Hacking General] bitsmash:
TrackMeEXT Server | GpsGate Connector

for GPS simulation and testing purposes I've modified the Trackme HTTP Request script as a Connector for Franson GPS Gate Client. So one can transmit platform independent testing data to the TrackMe server. Simply deposit a new output chain in GpsGate Settings ("gpsgate.com(send)" chain) , Select "Custom GpsGateServer" enter the proclamation call " your_trackmeEXT_srv/grequest.php " the user information and gps data transmission interval. Now u can use the builtin GPS Simulator or real GPS Data to feed your TrackMeServer. My php skills are not so well but it works good for me :)

Regards

bitsmash
[Windows Mobile Development and Hacking General] slipperx:
Getting and displaying the Cell ID

There is an option in Trackme to store the Cell ID with the other data on the server. I would like to grab the file for a trip and extract the data into Excel so as to be able to see which area a Cell ID relates to. Is there any simple way to do this? I am not a coder just an end user so sorry if this seems a rather banal question.
[Windows Mobile Development and Hacking General] y0himba:
Hello. I currently use 'signature.php' on my own server to insert a small image of my location into my web site. You can see it on the right about halfway down the page if you visit and also below. It currently inserts a 'map' image using this code:

$url = "http://maps.google.com/staticmap?center=" . $lat . "," . $lon . "&zoom=10&size=320x240&maptype=hybrid&markers=" . $lat . "," . $lon . ",green&key=" . $googleapikey . "";

Which generates:

I would like to know if there is a way to change the marker type to a popup marker that includes any image I have uploaded that shows in the popup, or a popup itself. I am sure it is something to do with the "&markers=" string, but have no idea what the marker type would be. I would like a functional marker popup. Like below:

Thanks in advance for any help.
[Windows Mobile Development and Hacking General] illflux:
This is a cool idea.
[Windows Mobile Development and Hacking General] iscode:
Trackme webserver in classic Asp

Has anyone done Trackme webserver in classic asp?

I would be interested to try that
[Windows Mobile Development and Hacking General] martinr63:
OSM and ajax

Hello,

based on this webserver, i've developed a webserver with open streetmaps, openlayer and lifetracking with ajax map update.
[Windows Mobile Development and Hacking General] lams144:
Is this project still alive. I would like to buy comercial licenses with some mods.

Is there eny way to stop the track with a sms? Just the same used to start it.

there are some small bugs in the program and in the web server that could be solved easy.

best regards.

Estoy sobre todo interesado en hacer un desarrollo en español.
[Windows Mobile Development and Hacking General] _LEM_:
Hi,

Sorry, but there is not a way of stopping the tracking when sending an sms.

I just sent you a PM regarding the rest of your message.

Cheers
[Windows Mobile Development and Hacking General] martinr63:
If you are using my server, please download http://openlayers.org/download/OpenLayers-2.10.tar.gz and set "$debug=1;" in the index.php. The popups don't work with the new OpenLayers api
[Windows Mobile Development and Hacking General] Tigggger:
Trips, A Simple Edit

For some unknown reason I always seem to end up with lots of short trips with only 2 or 3 positions, the program is on all the time so not sure why it's happening but anyway a simple edit to have a new trip each day (Note this will overide the tripname set on your phone)

Around line 70 in requests.php

$tripname = urldecode($_GET["tn"]);

Change to

$tripname = date("Y.m.d").'-'.$username;

HTH
[Windows Mobile Development and Hacking General] _LEM_:
Didn't the WM version had an option to start a new trip name every day?

Maybe I'm wrong. Are you using that version?
[Windows Mobile Development and Hacking General] Tigggger:
I'm on the android version, been a while since I had the WM one so can remember but don't think it did and I've always had the short trips problem.

Might be an idea as an option, but I suspect most people are happy the way it is
[Windows Mobile Development and Hacking General] khaytsus:
So what's the actual problem, does $tripname sometimes end up blank because tn sometimes doesn't get set by the client or otherwise lost? If you have access to the http server logs, often you'd be able to see those types of errors from there, as PHP will typically tell you if it's using an undefined variable.

But if this is the issue, my suggestion is that you wrap this in an if condition rather than change it... basically something like..

$tripname = urldecode($_GET["tn"]);

if ($tripname == "")
{
$tripname = date("Y.m.d").'-'.$username
};
[Windows Mobile Development and Hacking General] gorgarath:
There's the option in the Windows version as well as Android to automatically create a new track name when starting. Just restart TrackMe every day and have it automatically create a new file/track. You can probably get a program to do it automatically, or if you're rooted, use cron.
[Windows Mobile Development and Hacking General] Tigggger:
I already have that set, see below.

I have trackme on all the time and never touch it. Using the distance/time setting means it doesn't upload unless I'm moving which is ideal. The problem I have is that sometimes for reasons that I haven't figured out it starts a new trip so for example the other day I had these trips.

Auto_2012.06.08_08.02.35 - 6 positions

Auto_2012.06.08_09.09.02 - 20 positions

Auto_2012.06.08_09.52.30 - 47 positions

With the edit I get

2012.06.08-Damian - 73 positions

Also because it's on all the time it can change

Auto_2012.06.08_08.02.35 - 1000 positions

to

2012.06.08-Damian - 500 positions

2012.06.09-Damian - 500 positions

It's just a simple edit to keep things neater for me :)
[Windows Mobile Development and Hacking General] khaytsus:
Oooooh, I understand now. Your original post made it sound like you were losing data, not that it was getting separated into multiple logical trips. I suspect TrackMe is getting killed by the system and when it restarts, new trip. But yes, that'll certainly fix that issue for you.

Personally I do the same thing, but at a different level. I actually haven't used the TrackMe client in a while, all of my data into the TrackMe server come from my Bluetooth GPS Tracklogger or from Tasker, but the trips are per-day, no hourly breakdown.
[Windows Mobile Development and Hacking General] gorgarath:
Yeah, sounds like TrackMe is getting put to sleep by the system. If you have root access, I believe there is a way to give priority to TrackMe so it never gets shut down. You could then set up a cron job to restart TrackMe every midnight. But your solution works as well and is already implemented. Hehe

Sent from my Droid X.
[Windows Mobile Development and Hacking General] khaytsus:
Making it a system app, ie: putting the apk in /system/app gives even higher priority to TrackMe. I assume Lem's already doing all he can in terms of making it a foreground service with a notification, etc... That's about the highest user-level priority you can give. If rooted, Titanium Backup can do this pretty easy on most devices, although on mine (Galaxy Note) it just spins forever... I just copy then remove the version from /data/app if I need to do this, but only have one app that requires it.
[Windows Mobile Development and Hacking General] _LEM_:
Yeah, by default TrackMe run as a service so it should be more protected from the OS to be killed.
[Windows Mobile Development and Hacking General] pewe:
I see it has been sometime since this thread was active - but I post in the hope that someone with experience of the web server package may be able to help.

I have installed the web server software on my own server and would like to slightly modify something - but the software is quite complex and beyond my experience.

What I would like to do is to add 3 items to the pop up window which appears on the maps when a marker is clicked.

What I would like to add is

- the latitude and longitude of the point, and the ID of the row for that point from the 'positions' table.

Is there anyone still involved who can assist?

Thanks
[Windows Mobile Development and Hacking General] _LEM_:
pewe,

I'm the TrackMe client developer. Unfortunately I cannot really help you. The viewer has been developed by several persons and at this moment none of them seems to remain active. There is one developer though that helps me if something goes wrong but I prefer only to contact him in urgent situations. I have also tried to make a few modifications to the viewer myself but I always ended up messing up the whole thing. :(

Regards
[Windows Mobile Development and Hacking General] khaytsus:
index.php, AROUND line 1440.. My code is different than the fresh code, so you'll have to look for the right spot. Look for the top line below around line 1440 or so.

$html .= " <tr><td colspan=\"2\">$point_balloon_text " . $rounds . " of " . $count[0] . "<\/td><\/tr>";
$html .= "<tr><td colspan\"2\">" . "Location: " . $row['Latitude'] . ", " . $row['Longitude'] . " Row: " . $row['ID'] . "</td></tr>";

Simple one-line example that adds Lon, Lat, ID to the balloon. You also need add it to the else {} section below as well in the same spot or your end-points (start/stop, single points, etc) won't have the info.
[Windows Mobile Development and Hacking General] pewe:
Thanks for the feedback _LEM_.

Out of interest what changes were you trying to make?
[Windows Mobile Development and Hacking General] pewe:
Thanks khaytsus.

I see there are several lines in my index file which are identical to yours starting at line 1260.

If I am not being to cheeky, I have attached my index.php and wondered if you would be able to mark where I need to insert the code. If that were not too much trouble it would be greatly appreciated.

NOTE:

I assume as your code is so different to the original you did some mods - would these be of interest to others, or are they specific to your needs.
[Windows Mobile Development and Hacking General] khaytsus:
At this point I really don't even remember what's different ;) I made a lot of changes for newer PHP versions, I added a lot of code around URL parameters so the logs didn't get spammed with "Undefined index: ssmax" and a dozen other variables every upload, etc. Added some various extra export things etc. I actually haven't used LEM's client in years, data goes into the server via various other sources. I haven't changed any of those APIs, however, so the TrackMe client would still work just fine.

I've said a few times I'd attempt to clean up and provide it, but I don't know at this point if my code and LEM's code have differed..

At some point I'm going to have to do something though, Google is deprecating the Maps API v2 on May 19th, 2013, which as far as I know means TrackMe's web server will be basically broken at that point. Collecting data will be fine (I think); displaying it will not.

Line 1260 and line 1282 are the spots to add the line.
[Windows Mobile Development and Hacking General] pewe:
Ohhh! I didn't realise that. I have spent some time developing some other forms of input ( from other data files in csv format) for members of the family to upload their 'trips' as some don't have phones that can run LEMs client - and from that comment they will become obsolete in May??. They will be disappointed - not to mention those that use the Trackme server.

Thanks for that - I entered the 2 lines of code as indicated, but unfortunately there is no change to the balloon content. I wonder if I've missed something??
[Windows Mobile Development and Hacking General] pewe:
As the Google version of the server is going to die in May, I thought I'd try the Streetmaps version - but this is giving an Internal Server error.

Has anyone got it to work??
[Windows Mobile Development and Hacking General] khaytsus:
No, not die. It'll need conversion from the v2 API to v3. There are many tutorials online on how to do it, but it's not a 1-to-1 thing. There's no conversion script.. It'll take understanding v2 and v3 and testing etc..

I plan on working on it and seeing what I can do. I've always gotten lost in the Maps API in the past but hopefully there's not that much to do.
[Windows Mobile Development and Hacking General] pewe:
Thanks khaytsus.

I have been doing some work with php and mySql recently, and I seem to get by, but unfortunately my knowledge of GM is nil.

I searched for some info about upgrading V2 to V3 and found that some folks reckoned it was straight forward, others thought otherwise.

Last year I had a small script for uploading and displaying photos on a map, and I now see that was using V3. I had a couple of simple queries on it and found StackOverflow was a good place for assistance - unless someone asks them to do something for them rather than advise, then they get a bit miffed.

I'm sure if something can be done LEM would be grateful because from what I read somewhere Google are urging people to upgrade to V3 as they are going to turn off V2 links in Sept and the implication is that all V2 scripts will then die.

If I can do anything to assist with testing etc, let me know.
[Windows Mobile Development and Hacking General] _LEM_:
Yes, I would really appreciate that somebody could update the viewer to the new version. I thought about asking the person who already resolved a few issues that were detected some time ago, but I'm not sure about his availability.
[Windows Mobile Development and Hacking General] pewe:
I am probably being thick but I cannot seem to work out where in the server script the upload image is actioned nor where the image lat/lon is compared with points in the database to try and marry them up.

Is there any chance that someone reading this could advise :confused:
[Windows Mobile Development and Hacking General] _LEM_:
What TrackMe client are you using?
[Windows Mobile Development and Hacking General] pewe:
I'm running on Windows Mobile 6.5.
[Windows Mobile Development and Hacking General] _LEM_:
I haven't really used the WM version in years so it's hard for me to tell. I assume you have adjusted the parameters in the client side to make the matching more flexible, right?
[Windows Mobile Development and Hacking General] pewe:
Lem - I have the parameters in the photos upload screen on the phone set to 'Exif GPS =500ft' and 'Exif or File Creation time = 180secs', but I'm not sure how this works. Where is it determined which of these parameters is used.

I know that if I use geosetter to set the 'Lat/Lon' in the photo exif, when I upload it it is allocated to a point which has a 'close' setting in the positions table - but how would the correct point be chosen if there are more than one tracks with the same location recorded?

What I was trying to establish in my original question is which part of the script on the server extracts the detail from the uploaded photo and matches it against the Lat/Lon in the 'positions' table - I cannot seem to locate it in the various .php files on my server.
[Windows Mobile Development and Hacking General] _LEM_:
pewe,

It's hard for me to give you precise answers because I don't own a WM device anymore and I cannot test it. However I remember a few things.

Always the closest position in the Position table is taken. If there are 2 or more images with the same EXIF data, then the latest image will be assigned to the position. We cannot have two images assigned to the same position.

I think all this calculation is done on the client side, that's why you cannot find anything in the scripts. Sorry about that.

I started working on this feature for the Android version, but unfortunately I have abandoned development for a while and I'm not sure when I'll have the chance to come back.

Regards
[Windows Mobile Development and Hacking General] pewe:
Thanks Lem.

I was a bit surprised when you mention

because I uploaded a couple of photos which had 'taken' dates of last spring, but had the lat/lon added by geosetter to be 'close' to that of a point uploaded from a 'trip' in March this year.

At the time of uploading the photo the 'local.sdf' had details of the last recorded trip which was a few days ago.

So this means that for photo uploading the 'client' must be fetching down all the data from the positions table on the server to ascertain which 'position' to add it to.

If this is the case, I am surprised that it was done that way as it would probably be more efficient (time wise) to let the server do the comparison. But not being a coder I could be (and probably am) wrong.

Does this mean that the future of TrackMe is in doubt (as far as further development, for future device updates etc is concerned)
[Windows Mobile Development and Hacking General] _LEM_:
I don't have the code with me now, but I think I run a SQL query from the client that returns the positions that match the conditions so it's not really that bad.

Yes, the future of TrackMe is in doubt. I don't see too much support from the community to make it better like it happened with the WM release. Also I have other projects in mind and the company that used to support the Android version doesn't do it anymore.

However if I saw that there were more interest from users I would go back to development. The viewer is completely outdated and limited and nobody seems to be willing to improve it. Also nowadays there are many applications out there that do something similar than this application and this is causing TrackMe to be not as popular as it used to.
[Windows Mobile Development and Hacking General] khaytsus:
Good news on two fronts...

First off, we have until November to get it done. That's good. I don't have high hopes that TrackMe is a "simple map" since.....

I'm in the process of converting it, but having trouble.. there's a lot of stuff that was being used in v2 that isn't in v3. I've found several code bits online of replacement functions, but still having some trouble.

Working: Display of Points, tracks.

Not Working: eh, everything else. It centers, but doesn't center in the middle of the view. Doesn't zoom the view properly. Can't click markers. I dunno what else ;)

I'll keep working on it.
[Windows Mobile Development and Hacking General] pewe:
:good::good::good:;)
[Windows Mobile Development and Hacking General] khaytsus:
Lem, is there any way to determine the license for the trackme server? I know it would be a mixed license most likely from the mix of components putting it together but the main app itself has no license attributed.

I'd like to see if we can get it on github.
[Windows Mobile Development and Hacking General] _LEM_:
khaytsus,

Thanks so much for your help. I really appreciate that.

There is a person who has been helping with critical issues with the viewer who mentioned a few weeks ago that he would be willing to work on the conversion. I am thinking that maybe you guys could work together so it should be easier to do. I'm not sure if he has started yet. Let me know if this sounds ok with you and I could send you a PM with more info.

Regards