yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] while(!(linux)){wm}:
Thanks Staryon,

I wrote my own perl script to handle this. It's working great for me, though i'd appreciate if you would let us specify requests.*** rather than just requests.php. Right now i've told my webserver to handle .php as a perl script.

I'm using it right now, and it works great, with a few exceptions. Let me first explain what i'm trying to do.

I want TrackMe to run all the time in the background. Whenever i wake the unit up, i want trackme to connect to the GPS, take a fix, and then turn the GPS off again. I figured i could set trackme to 30 minute intervals. That way, if it's been more than 30 minutes since trackme last got a fix, it would take a fix right away.

Ideally, trackme would be able to wake up the phone by itself to take a fix. I'm not sure how hard this is for you to do.

Here are my requests:

1) TrackMe does not allow the device to go to sleep. Could you add an option to allow the device to sleep?

2) TrackMe does not know how long the unit has been off. If i set it to take a fix every 30 minutes, but then leave it off for 2 hours, it still waits 30 minutes until it takes a fix. It would be nice to have TrackMe know when it has missed a fix and take one right away.

3) This is a harder one i think, but it would be really great if trackme could wake up the device to take a fix.

4) Allow user to specify php, cgi, etc. (i already asked for this)

5) Allow the uploading of elevation data.

Thanks for your great work! We really appreciate it! I will be happy to share my perl script with everyone once i have it complete. All it does is take the http request and add the position to a kml file. Using a database is a much better option, but i didn't want to spend much time on it. It took me only an hour or so to code.
[Windows Mobile Apps and Games] _LEM_:
About the power requirements... Yes, jcleek needs also something similar.

I will have to look at it.

At this moment, you cannot really turn off the device (GPS will stop working) but you can turn off the screen. I think I may try to keep the program running in sleep mode, and as soon as I need to get a new fix, turn it on, start the GPS, get the fix, and put it to sleep again....

Number 4... yes, that's already in the to-do list.

Number 5... I wonder why I didn't do this from the beginning :(

I will add this eventually.

Thanks a lot for contributing to the program with that perl script that you wrote!

Regards
[Windows Mobile Apps and Games] while(!(linux)){wm}:
That would be perfect!
[Windows Mobile Apps and Games] gthing:
So help me out with the config.

my mysql server is mysql.server.com

So

1. Create a database and run the sql query to generate the tables. I changed my database name to "tracking" and then changed it in the first part of the php file.

2. In trackMe config I add server.com as my server IP

(or do I add mysql.server.com)?

3. In the php files I add my database host, username, and password

4. I upload the two php files to the root directory on server.com

And? What am I missing here? I get an upload error.

The username and password in the trackme config can be anything, right? Or are you looking for the database username and password?
[Windows Mobile Apps and Games] while(!(linux)){wm}:
Nevermind, i figured it out.

TrackMe must see "Result:0" (no quotes) as the first line returned by the http server. If not, it will think it did not update correctly, and store the data in its offline cache.
[Windows Mobile Apps and Games] gthing:
Okay, I'm making progress here. I've found that I have to put the .php files in a folder called "trackme" for it to work. The program automatically looks for that folder.

Now instead of a connection error, I get an error saying I need to specify a username and password. This persists even though the username and password are set.

I'm certain that the username and password variables are not being passed to the php script. Looking at the script, I don't know how they could be. Granted, I'm somewhat of a PHP noob, but I don't see a post or a get request anywhere in the script and I don't know how else data is passed into a script like that.
[Windows Mobile Apps and Games] _LEM_:
hey guys,

I'm sorry I haven't been able to help too much about this. I'm very busy with the new version.

Here some hints...

Yes, you need to have the files in a folder called 'trackme' . This will change in the new version, because you will be able to specify the folder root.

All server responses are preceded by "Result:". Depending on the query from the client the responses are differents. Usually "Result:0" means that everything wen t ok.

This is the code in my client when uploading a new GPS positions:

if (cRes.IndexOf("Result:0") != -1) // OK
bError = false;
else if (cRes.IndexOf("Result:1") != -1)
AddText("Incorrect Password for user");
else if (cRes.IndexOf("Result:3") != -1)
AddText("You need to specity an username and password for the user.");
else if (cRes.IndexOf("Result:4") != -1)
AddText("Unable to create trip");
else if (cRes.IndexOf("Result:5") != -1)
AddText("Unable to connect to database");
else if (cRes.IndexOf("Result:2") != -1)
AddText("User didn't exist and system was unable to create it.");
else // Unknown answer. Offline?
AddText("Error uploading position.");

As I said the other requests may have other reponses. Once I have a stable version I will provide the necessary documentation. Meanwhile, feel free in asking any questions.
[Windows Mobile Apps and Games] _LEM_:
Here is a example of URL that is sent from the client:

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] ifrew:
Exception when running on Samsung blackjackII

Hi,

I just downloaded and installed latest version on a WM6 blackjack II. First time posting to this forum. I get a NotSupportedException at Microsoft.AGL.Common.MISC.HandleAR(). Installation says that if you have WM6 you are set to go. Is this a know issue? Couldn;t see any threads on the problem.

Cheers

Iain
[Windows Mobile Apps and Games] _LEM_:
Hi ifrew,

Never seen that error before. Could you double check the version of the Compact Framework installed on your PDA?

Thanks
[Windows Mobile Apps and Games] ParrotSquawk:
using the internal GPS as a GPS device for my lappy

Any way to get my Kaiser GPS to appear as a GPS device to my laptop so I can use program like Streets and Trips or Delorme Street Atlas???
[Windows Mobile Apps and Games] jcleek:
Uh, wow. Sorry I am ignorant about Yahoo maps. IF you don't want the crosshairs just set $crosshairs = "no" in the config. I am also sorry I do not know how to emulate the yahoo maps behavior in Google maps...
[Windows Mobile Apps and Games] jcleek:
Added. All options are in the config and the installer is updated too. Staryon the file is in the same location.

Version 1.13 of the server files includes these updates:

1) Option to add click-to-center. (wafwot)

2) Option for inset overview of map. (wafwot)
[Windows Mobile Apps and Games] v3patel:
works perfectly. Good work Staryon

Wow ... works perfectly. Good work Staryon. I'm really eager to see how you did it. Hope to see you in closest buddy. I live in sorrounding area of your work map.
[Windows Mobile Apps and Games] _LEM_:
odie3, I have good news for you for the next version ;)
[Windows Mobile Apps and Games] Vs1979:
IIS

Does anyone know what would be required on an IIS box, perhaps ASP page, running MS SQL to upload to instead of PHP box.

Many Thanks
[Windows Mobile Apps and Games] odie3:
You tease! :D
[Windows Mobile Apps and Games] odie3:
Nice updates - I really like the inset overview map!
[Windows Mobile Apps and Games] _LEM_:
bwired was writing the necessary ASP pages to use them with TrackMe. However I haven't heard from him for a while. Not sure if he's still working on that.
[Windows Mobile Apps and Games] _LEM_:
New version available.

- Ability to change the color scheme

- Force update. Now you can upload your pictures later (this is useful if you are storing offline data but want to store a position that contains an image)

Note:

When you change the color scheme, you will notice that some icons don't look very good. This happens because the icons are not transparent. If you have experience with Photoshop or similar program and would like to help, I can send you the original icons so you can modify them and I will include the new icons in TrackMe. Thanks
[Windows Mobile Apps and Games] odie3:
Sure, email them to me - I believe you have my email address. I am not a Photoshop guru but I generally have luck making images transparent (sometimes).
[Windows Mobile Apps and Games] _LEM_:
That was quick! Thanks a lot. Email sent.
[Windows Mobile Apps and Games] ifrew:
I couldn't see any specific reference to the CF version in the ABOUT screen in WM6. All I see is the CE OS version of 5.2.1620 (build 18125.0.4.2).

According to Microsoft web site every wm6 device comes preinstalled in ROM with "The .NET Compact Framework 2.0 Service Pack 1 (SP1) and Microsoft SQL Server™ 2005 Compact Edition are in the ROM of all Windows Mobile 6 devices, which allows your application to use .NET Compact Framework 2.0 and SQL Server 2005 Compact Edition without needing to distribute or install either product on the user's device."

Does that help?

Cheers

Iain
[Windows Mobile Apps and Games] warmkiwi99:
Hi Staryon

New feature?

Keep the image upload as part of Forced Update but add another Image update where the timestamp of the image is associated with the timestamp of a position that has already been uploaded. This way you could run Trackem and take photos and then upload the images at home (via WiFi for example) and it would effectively geotag them using timestamps.

Possible?
[Windows Mobile Apps and Games] Eitel:
The Blackjack uses WM6 Smartphone edition. This program runs under the PocketPC WM6 version. ;)
[Windows Mobile Apps and Games] _LEM_:
hmm... I know people using the program with Smartphone devices, at least with one of the first versions of TrackMe. I haven't tested myself though.

Something that I have in my to-do list is to create a specific version for smartphones, but who knows if I will end up doing it...
[Windows Mobile Apps and Games] _LEM_:
It's a nice idea...but unfortunately not very easy to do because of the way TrackMe is implemented. Also I would have to show a list with all the positions that have a similar timestamp and let the user to choose one... I mean, it's doable, but it's a lot of work and I'm not sure if many people will really use that.
[Windows Mobile Apps and Games] ifrew:
Well how confusing is that!! :-) I didn't think there was any branding difference between WM6 smartphone and pocket pc phone editions anymore. Certainly not when you buy a phone. So the question is, what would it take to getting this app working on a smartphone.

Thanks for the speedy replies in this forum.

Cheers

Iain
[Windows Mobile Apps and Games] odie3:
Well, I see that as a great idea - I would use it. What about that GPS Photo we have on our camera's, could that be worked on this?
[Windows Mobile Apps and Games] _LEM_:
sorry ifrew, not sure if I'll end up doing it...

I have no idea about this... but is it possible to install WM6 pocket on that pda?
[Windows Mobile Apps and Games] _LEM_:
ifrew, if you want to, try with this version that I just compiled for WM5 for Smartphones. Not sure what will happen when you run it, because I got like 200 compiler warnings, but you can give it a try:

http://luisespinosa.com/temp/TrackMe.WM5.Smartphone.CAB
[Windows Mobile Apps and Games] aRGybaRGy:
Run alongside or in tandem with TomTom?

Hi

I downloaded TrackMe this afternoon and I am stunned - what a super piece of software. I've been looking for something like this since my work mate showed me sportstracker on his nokia N95 - glad there's a much better tool on the PPC platform :)

Something I noticed driving home though is that not both trackme and TomTom can access the GPS device at the same time.

Is this a known issue, or is there something I don't appear to be doing?

Thinking about what would be nice to do with it whilst also running TomTom... wouldn't it be great if it could talk to TomTom via the TomTom API (if there is such a thing) and extract the destination and ETA and have the ability to add these into messages sent from the phone - link these into something like the geofence. If my destination is 'home' and my ETA is 5 minutes, send an SMS to my partner asking them to put the kettle on for a nice cup of tea!

Might also be able to grab co-ordinates and the like direct from TomTom API if you can't both use the GPS at the same time?

A further question about the link on your website to view journeys on top of Google Maps - it needs a login to be able to view journeys, although I thought I read somewhere about it being public as well as private - can someone point me in the right direction for public views of journeys - with no login required - or am I mistaken?
[Windows Mobile Apps and Games] ifrew:
wm5 version for smartphone..

__________________

Hi,

I couldn't get the link to work. Says theres no site at that address? Is there a typo someplace? Love to try it for you.

Cheers

IAin
[Windows Mobile Apps and Games] warmkiwi99:
OK, no probs. It's a great app as it is.
[Windows Mobile Apps and Games] _LEM_:
Sorry. This is the correct link:

http://luisespinosa.com/bin/trackme/TrackMe.WM5.Smartphone.CAB
[Windows Mobile Apps and Games] _LEM_:
aRGybaRGy, I use TomTom and TrackMe all the time and they both share the GPS.

Check the following. Go to Settings->System->External GPS->Access

and check that 'Manage GPS automatically' is checked.

Regarding you other question. I didn't know that there was a public TomTom API. Not sure if we want to do that. I wouldn't like to make TrackMe too complicated, I prefer to add features that are more oriented to a GPS tracking program that don't depend from external applications.
[Windows Mobile Apps and Games] odie3:
Same here have used Trackme and TomTom together from day one. Never had an issue with them [on my Tilt].
[Windows Mobile Apps and Games] Sparrowhawk:
Just to add to the above messages - I use CoPilot 6 for PPC and it works well with TrackMe.
[Windows Mobile Apps and Games] Juraus:
Sorry, I had a typo on my sql username... It's installed (with install.php) now and works great!!! Thanks for a great program!
[Windows Mobile Apps and Games] phatman81:
D/L this now and installing. I will try it on a T-Mo Shadow...

(Please Work! Please Work! Please Work!)

EDIT: It is a no go on the shadow, same errors as with the other versions. :(
[Windows Mobile Apps and Games] _LEM_:
Do you think you can provide some screenshots with the error? Maybe I can see something...
[Windows Mobile Apps and Games] phatman81:
oddly, i posted SShots last time i tried to install, but on a look back at that post, they are not there. here is another set of shots:
[Windows Mobile Apps and Games] _LEM_:
I made a small change just in case it resolves something...

Could you please try again? Please download the version that is in my signature.

Let me know if you got a different error now.
[Windows Mobile Apps and Games] _LEM_:
I kept researching and I think there is nothing I can do unless that I write a specific version for Smartphones.

There are controls that are not compatible with Smartphones (like pen based input controls) and this is causing the program to crash.

Check this also for more information:

http://blogs.bdnet.co.uk/danmatthews/archive/2007/08/22/91.aspx

Sorry...:(
[Windows Mobile Apps and Games] phatman81:
Downloaded the file from page 1 (linked from your sig). Installed clean, as usual. When starting the application....

It failed. Got a few different errors this time, but a no go. Oh well. Thats what i get for ditching my PPC ;)

I would love to sit here and beg for a SP version, but thats not my style. If you ever do get to make one, all the power to you, but please dont do it just for me. (i would feel bad, honest!) Instead keep getting this version better. Quality over quantity, at least i think so.

(if you ever start any SP projects though, let me know! im ready to test away!)
[Windows Mobile Apps and Games] _LEM_:
thanks for your comments, phatman81

however could you please post some screenshots of the new error?

Thanks!
[Windows Mobile Apps and Games] ifrew:
Hi,

I downloaded the version you made called trackme.wm5.smartphone and same errors as before. I couldn;t find the version you refffered too that was linked from your signature to try? I expect we will get the same errors unless the exception is handled and new form controls are used for smartphones.

This app looks fantastic and its just a pity it doesn't run on smartphone.

Cheers

Iain
[Windows Mobile Apps and Games] aRGybaRGy:
Aha ... I set TomTom to use COM9 and it all sparks into life now :)

Both TomTom and TrackMe running simultaneously.

I still think an optional link to TomTom to extract ETA to destination for getting the wife to put the kettle would be nice :)

I do have a question about sending emails. I use flexmail on my PPC, and TrackMe builds the short URLs if it can and then pops up a new email window, pre-populated with subject but the URLs do not appear in the body.. it only has the two characters PC, but no URL following...

Is this a known problem?

Populating and sending an SMS works OK...

Cheers
[Windows Mobile Apps and Games] _LEM_:
You can download it from here:

http://www.luisespinosa.com/bin/trackme/TrackMe.CAB
[Windows Mobile Apps and Games] _LEM_:
To be honest I am surprised that worked with a different email client, because

what I really do is to call the 'poutlook' application internally.

When I have some time I will install flexmail on my pda and I will test it.

Thanks for letting me know.
[Windows Mobile Apps and Games] wafwot:
I took the day off today to repair a blown radiator hose on my truck. While waiting for a ride to the auto parts store, I got bored and started playing around with icons. I downloaded the Buuf icons by manhattan at deviantART for my Linux desktop a while ago, and really liked 'em.

Here's what I came up with. They're big 128x128 PNG images with transparent backgrounds. UPDATE: I shrunk the the icons down to 32x32. I can turn 'em into gifs if you like 'em.

http://wafwot.com/~wafwot/TrackMeIcons.zip

http://wafwot.com/~wafwot/TrackMeIcons_32x32.zip
[Windows Mobile Apps and Games] turtle2472:
I like those icons. Good work!
[Windows Mobile Apps and Games] wafwot:
Ugh. I sure hope PNG images can be used, because GIF images just don't have enough colors. The transparent, resized GIF images look like... well, they look like...
[Windows Mobile Apps and Games] odie3:
Those are some nice Icons there wafwot.

While thinking about how to get the icons that staryon emailed (which look like crap when I try to make them transparent), perhaps the Icons should be like a style in a subfolder of the trackme install. That way just let us users (like wafwot) share their icon styles.

Does that make any sense?
[Windows Mobile Apps and Games] wafwot:
That's a good idea! There would still need to be a "default" set of icons distributed with TrackMe... but icon packs could be downloaded and the files placed in a directory so custom icons could be used.

If we had our way, this program would be as big as TomTom. We'd need an entire storage card for it! :D Good thing Staryon keeps us grounded.
[Windows Mobile Apps and Games] madferret:
Just letting you know that it fails on the HTC Wings/S730. Different error message to that posted earlier so I've attached screenshots for you.

Crossing fingers, 'cos this would be a great app to have!
[Windows Mobile Apps and Games] _LEM_:
wafwot,

I love the icons!

[EDIT]

I'm already working on a version that load the icons dynamically.
[Windows Mobile Apps and Games] _LEM_:
in case you have read it, forget what I said. It was because I opened the files with Paint and for some reason they showed like that.
[Windows Mobile Apps and Games] odie3:
I see new version coming soon! :)
[Windows Mobile Apps and Games] wafwot:
Ha! Okay, good. I actually batch resized those via command line using mogrify (which is included in Imagemagick with Linux). I though mogrify may have added some noise on resize that I didn't see. I actually resized them again manually using The Gimp, but they didn't look as nice as the mogrified versions. Glad PNGs can be used... they are so much nicer than GIFs.

Looking forward to the new version!
[Windows Mobile Apps and Games] _LEM_:
hey guys... bad news. something as simple as showing an image button with a transparent color with Compact Framework cannot be done... I cannot believe it.

Check this thread for more information:

http://groups.google.com/group/micr...t&q=button+transparent+image#9fbe27abd10fdc1b

In the worst case I will support custom icons but they will not be transparent...

Microsoft Compact Framework converts transparent pixels to white pixels automatically...

If you guys find some other extra information, please let me know
[Windows Mobile Apps and Games] _LEM_:
ok, I found a workaround for this. There is a component that simulates transparent colors. However you guys will have to make some changes to the icons. It's not going too bad. I'll let you know when I know more.

The problem is I will have to rewrite all the code that I have for creating buttons , so it will take me a while.
[Windows Mobile Apps and Games] wafwot:
Personally, I think the whole color scheme icon issue should be simplified. Just two color schemes: a white background for "daytime" and a black background for "nighttime." It would eliminate the need for transparent icons, and possibly prevent you (Staryon) from rewriting code.

Just my opinion... and we all know what those are like. :rolleyes:

[EDIT] - Heh... IF you feel the need to make day and night schemes complicated, calculate if a day or night scheme should be used based on the date, time, and current latitude and longitude (between sunset and sunrise, use night scheme, else, use day scheme).
[Windows Mobile Apps and Games] _LEM_:
New version available!

Now you can import your own icons (thanks wafwot)

Important note

Unfortunately Microsoft Compact Framework doesn't work with transparent images, so I had to use a class that I found (actually I got it from Microsoft!) that simulates that. The way it works is the following: The image will include a transparent color, which will be the pixel located at (0,0). For example, if you have a white pixel at that position, any other white pixels will be considered as transparent for that image.

The pictures that wafwot provided need some adjustments in order to make it work with any backgrounds. I don't have too much time to do that, so I'd appreciate if somebody else can do that. Thanks!
[Windows Mobile Apps and Games] wafwot:
I can redo the icons... but let me see if I understand the process. If I flatten the image and give 'em a... white background, and the pixel at 0,0 is also white, then any white color in the icon will appear transparent?
[Windows Mobile Apps and Games] _LEM_:
yes... at least that what I thought. I tried to convert one icon and it didn't work very well. Maybe I'm doing something wrong, I'm using Paint to do that :rolleyes:
[Windows Mobile Apps and Games] wafwot:
Wow. Yeah. The icons in the new version look like poo on a black background. On a white background, they look pretty sweet.
[Windows Mobile Apps and Games] _LEM_:
Also notice that they are now buttons, instead of images, so when you click on them you can see the difference :)
[Windows Mobile Apps and Games] wafwot:
The problem with that is if that color appears in the icon itself, that portion of the icon would also be transparent... making it look like it a 1970s blue screen special effect... or the aforementioned poo.

My feeling are still with the two day/night color schemes. It simplifies the transparent icon problem, people would still be able to use their own icons (as long as they make two sets with day and night backgrounds), and you wouldn't need the Microsoft simulation class.