PDA

View Full Version : *TrackMe* GPS/CellID Tracking tool for Google Earth & Google Maps


Pages : [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21

_LEM_
29th October 2007, 07:14 PM
DOWNLOAD
Click here to download the latest version (http://www.luisespinosa.com/bin/trackme/TrackMe.CAB)

REQUIREMENTS
Devices running Windows Mobile 5 or 6 for Pocket PC or Smartphones

Microsoft Compact Framework 3.5 Download from here (http://luisespinosa.com/bin/trackme/NETCFv35.wm.armv4i.cab)
SQL Server Mobile 3.5 Download from here (http://luisespinosa.com/bin/trackme/sqlce.ppc.wce5.armv4i.CAB)



ICON SETS
Just unzip it and copy files to the Icons folder.
Classic (http://www.luisespinosa.com/bin/trackme/icons/iconsclassic.zip)
Modern (http://www.luisespinosa.com/bin/trackme/icons/iconsmodern.zip)


FAQ
Click here to see the FAQ (http://www.luisespinosa.com/trackme_eng.html#S5)

DOCUMENTATION AND QUICK START GUIDE
Tutorial (http://luisespinosa.com/trackme_eng.html)

HOW TO USE YOUR OWN SERVER
Click here for instructions (http://www.luisespinosa.com/trackme_eng.html#S10)

CUSTOM WEB VIEWER DEVELOPMENT AND USER PLUGINS
Click here to visit the thread (http://forum.xda-developers.com/showthread.php?t=477394)



RELEASE HISTORY
Click here to check the Release History (http://www.luisespinosa.com/trackmerelease_eng.html)




DESCRIPTION
Hi all,

I have been trying for a while to find some GPS/CellID tracking programs that work fine but most of them are buggy and not very accurate. That's why I decided to write my own!

Features:

- Ability to generate KML and GPX files that can be opened with any tool that supports that type of file.
- Realtime tracking with Google Earth or Google Maps.
- You can create and manage your own trips
- No internet connection is needed when using TrackMe (Offline mode)
- Ability to display your current position on your PDA
- Geofence with SMS and email notifications
- You can send your current position by email or sms to other person
- Ability to upload pictures. TrackMe will extract the GPS information/Creation date (if any)
from the pictures and it will match it with your existing GPS data
- Search for closest user based on your last uploaded position
- GPS powersave mode available
- You can use your own server instead of my free server
- Stealth mode
- You can force updates with your own custom icon and comments.

http://luisespinosa.com/images/trackme/comb1.jpg

Google Earth:

http://luisespinosa.com/images/trackme/gecomb.jpg

Google Maps:

http://luisespinosa.com/images/trackme/gm1.jpg

Web browser viewer
By pammetje, mcross and jcleek

http://luisespinosa.com/images/trackme/jcleek1.jpg


Please visit this thread to see other viewers (http://forum.xda-developers.com/showthread.php?t=477394)


If you guys are interested in this program I will keep it updated, otherwise this will be probably one of the last versions!

Please leave your comments, suggestions and ideas here.

Have fun!

Regards


You can Donate (https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=paypal%40luisespinosa%2ecom&item_name=Donation%20to%20Staryon&no_shipping=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8) if you like my tools. That's always a good motivation for future developments!! Thanks a lot!

kireol
29th October 2007, 07:48 PM
that's pretty dope! Where does it upload the data to? Any chance of sharing the source code and people could add to it? maybe open source it?

_LEM_
29th October 2007, 07:54 PM
Thanks kireol.

Right now it's uploading the information to the mysql database that I have with my web hosting.

Regarding the source code... I think it could be a good idea. Maybe once the program is completely stable I may do it. Thanks for your suggestion.

kireol
29th October 2007, 07:58 PM
for sure man, you did a great job! And I for one would love to get involved. I was a programmer at Ford for 15 years(C++/PHP/Perl/Java) until those jobs went to India and forced me to throw away my college degree. I've been dieing to get back into programming (5 years now). This last weekend I snagged MS visual studio .net and the wm6 sdk and started compiling. This might b a good transition for me to get back into thinking that way, if you decide you'd like to OS it that is :)

ishkatar
29th October 2007, 08:08 PM
Great tool!!!
Just one question, how do we create an account?
Thanks

Iskatar

taguapire
29th October 2007, 08:11 PM
Congrats,

Very nice stuff!!!

Regards,

Taguapire.

_LEM_
29th October 2007, 08:14 PM
Great tool!!!
Just one question, how do we create an account?
Thanks

Iskatar

Thanks ishkatar.

You just need to go to Config, and enter there a username and password.
The account is created automatically as soon as you start uploading GPS data.

If for any reason the username already exists or there is any other error, you will be notified.

athanaso77
29th October 2007, 08:19 PM
We always approve such moves!!!! Go on and keep up the good work!!!

laakness
29th October 2007, 08:22 PM
Very cool.

Maybe you could release the table structure and a way for people to host their own data...like a personal web app.

ishkatar
29th October 2007, 08:24 PM
Thanks ishkatar.

You just need to go to Config, and enter there a username and password.
The account is created automatically as soon as you start uploading GPS data.

If for any reason the username already exists or there is any other error, you will be notified.
Wow ... works perfectly!!! I just did a test walk around my office and it mapped it perfectly!!! Good work Staryon. I'm really eager to see how you did it.

_LEM_
29th October 2007, 08:49 PM
Thanks a lot for all your comments. That really encourages me to keep updating the software.

laakness, at this moment the data is inserted into the mysql tables by using HTTP calls. My website gets the HTTP call and depending on the command it will do the specified task. That means that what you mention it would work if they have a website with PHP and a mysql database. A nice feature that I could add in the future is to make the inserts directly to the database instead of using HTTP calls.
However this is something that may not work for many web hostings because they usually don't allow access to mysql from external applications (which is my case by the way)


For the KML files (Google Earth's files) I used a structure that I liked in one of the tools that I found that does something similar to this. I made some modifications though.

_LEM_
29th October 2007, 09:05 PM
I edited my previous post. Obviously where I said URL calls I meant HTTP calls.

Sorry for the confusion!

XDAII
29th October 2007, 09:10 PM
I have not yet installed it but it looks really cool from the screen shots. I have been using 3DTracking (free) but it is not without its problems and does not look as comprehensive as this. Does it carry on logging position after you power-down (standby) the Kaiser? 3DTracking does and its a real pain as it means you have to keep the screen on all the time!!

laakness
29th October 2007, 09:10 PM
Thanks for the info.

I actually do host my own site using PHP/Apache/Mysql which is why I was asking :)

laakness
29th October 2007, 09:11 PM
I have not yet installed it but it looks really cool from the screen shots. I have been using 3DTracking (free) but it is not without its problems and does not look as comprehensive as this. Does it carry on logging position after you power-down (standby) the Kaiser? 3DTracking does and its a real pain as it means you have to keep the screen on all the time!!

This app lets you shut the screen off which is great. This app also alows you to set your upload and update intervals. They are great and needed options.

_LEM_
29th October 2007, 09:31 PM
Thanks for the info.

I actually do host my own site using PHP/Apache/Mysql which is why I was asking :)

Very good. In that case I can provide everything that you need to use your website.

However, I will have to make it some changes in my code because at this moment the HTTP calls are hardcoded to my website. Once I have this done I will post it here.

laakness
29th October 2007, 09:35 PM
Very good. In that case I can provide everything that you need to use your website.

However, I will have to make it some changes in my code because at this moment the HTTP calls are hardcoded to my website. Once I have this done I will post it here.

Very cool, thanks a lot. Your work is much appreciated.

apbtlvr
29th October 2007, 10:13 PM
Very cool indeed…
We must be neighbors of a sort. I work in Herndon (Worldgate) and was pretty surprised to a bird’s eye view of my office. Hope you aren’t getting stuck doing that toll road shuffle for an am commute – lol.

JorSlz
29th October 2007, 10:35 PM
I installed it on my Wing, but it is not responding.

first error I got. unable to open port 4

I changed to port 1 and what I get is - waiting for gps respond.

not working for me.

Do I have to be outside the house for this or online?

_LEM_
29th October 2007, 10:58 PM
Very cool indeed…
We must be neighbors of a sort. I work in Herndon (Worldgate) and was pretty surprised to a bird’s eye view of my office. Hope you aren’t getting stuck doing that toll road shuffle for an am commute – lol.

lol... don't tell me. That toll road has become a nightmare every day and it's getting worse and worse...

_LEM_
29th October 2007, 11:01 PM
I installed it on my Wing, but it is not responding.

first error I got. unable to open port 4

I changed to port 1 and what I get is - waiting for gps respond.

not working for me.

Do I have to be outside the house for this or online?

If you get that is because you are not selecting the right port of your GPS.
Try to check what com port your GPS is using (maybe with other programs that you use for your GPS) and set that com port in TrackMe.


As soon as TrackMe gets an answer from the GPS, you should see a message saying 'Searching for satellites...'
You should get that message even if you are indoors.

ghale
30th October 2007, 12:06 AM
Mmmhh...
I tap on Start
Status is connected.
Satellistes: 08

But...
I see: No lat/long info: $GPGGA,220436.0

and similar.

What's wrong with my GPS?

I use other GPS software and all it's ok.

Someone can help me, please?

BTW: the application is very good!

_LEM_
30th October 2007, 12:18 AM
Mmmhh...
I tap on Start
Status is connected.
Satellistes: 08

But...
I see: No lat/long info: $GPGGA,220436.0

and similar.

What's wrong with my GPS?

I use other GPS software and all it's ok.

Someone can help me, please?

BTW: the application is very good!

ghale, could you please try the attached version?
I just made a change that will create 2 log files called gpsdata.dat and gpserror.dat as soon as you start getting data from the GPS.
(the files will be located in your Program Files\TrackMe folder on your PDA)

Please try the program until you start getting those errors for a while.
After that please post a message attaching the files.

That info will help me to debug why is not working on yours.

Thanks

ghale
30th October 2007, 12:30 AM
Done.

Posted the two files.

I'll wait for a response.

Thanks,
ghale.

_LEM_
30th October 2007, 12:45 AM
ghale,

Sorry to bother you again. Could you please download the previous attached file again? As soon as I uploaded it, I noticed that I forgot to include something and I uploaded again. However, it seems that you got the previous version.

Please try it again and if you can, send me also the file trackme.dat , just in case is a problem with the configuration values.

I think it will be easy to fix, as soon as I find out what is causing the problem.

If you want to, you can use my email: emluisREMOVETHIS@gmail.com

Thanks a lot!

tariq_niazi
30th October 2007, 12:50 AM
I run my own web server. Is it possible to have the kml sent to my webserver? If not, what do I need to make it happen?

- TKN

surur
30th October 2007, 12:52 AM
Great software. Keep up the development.

Surur

_LEM_
30th October 2007, 12:57 AM
I run my own web server. Is it possible to have the kml sent to my webserver? If not, what do I need to make it happen?

- TKN

It's the server the one that generates the KML file.

I will provide soon a version where you can upload the information to your own server and I will also include the php files that you need to copy to your server. (it should be very simple to setup)

ghale
30th October 2007, 01:01 AM
I've sent the files to you gmail account.

Let me know, and thanks very much for a such application!

while(!(linux)){wm}
30th October 2007, 01:08 AM
Staryon,

Your program looks very promising!

Personally, all i would need your program to do is make an HTML call with the information in the URL. I could write my own script to receive the call and generate the KML file. Could you possibly allow a custom server configuration? I could take care of the rest i think.

Also... could you make a setting that tells the program to turn off the GPS between fixes? That way, i could set it to take a fix every hour or so, and it wouldn't drain my battery in between.

Thanks a lot!

scottwilkins
30th October 2007, 01:14 AM
How about just save the kml file off to the PDA, and/or allow e-mailing out? That way an external server is not needed.

tariq_niazi
30th October 2007, 01:18 AM
It's the server the one that generates the KML file.

I will provide soon a version where you can upload the information to your own server and I will also include the php files that you need to copy to your server. (it should be very simple to setup)

Thank you very much! I just cannot wait to see how it works on my server. I am using GPSGate.com right now and it is neat using their Google Maps feature. However, there are a lot of mis-trackings too. Also, do you plan on releasing a version for Google Maps (using API) in the future?

- TKN

sherpa
30th October 2007, 02:34 AM
How about just save the kml file off to the PDA, and/or allow e-mailing out? That way an external server is not needed.

I was wondering about the same thing. Would it be possible to have an option to save the data to a KML file instead of uploading it to the server? I do not have any data service and would love to use it offline.

azop
30th October 2007, 05:43 AM
It's the server the one that generates the KML file.

I will provide soon a version where you can upload the information to your own server and I will also include the php files that you need to copy to your server. (it should be very simple to setup)


This would be awesome. My server is sitting here waiting for the php files :)

_LEM_
30th October 2007, 05:56 AM
Staryon,

Your program looks very promising!

Personally, all i would need your program to do is make an HTML call with the information in the URL. I could write my own script to receive the call and generate the KML file. Could you possibly allow a custom server configuration? I could take care of the rest i think.


Yes, that would be possible. I'm going to add an option where you can specify the server IP instead of being hard-coded to my server. You will just need to listen to port 80 and process the requests.
I will provide more information about the format of the URLs that are sent from the program.



Also... could you make a setting that tells the program to turn off the GPS between fixes? That way, i could set it to take a fix every hour or so, and it wouldn't drain my battery in between.
Thanks a lot!

That's a great idea. I'll try to add that feature as soon as possible.

_LEM_
30th October 2007, 05:59 AM
I've sent the files to you gmail account.

Let me know, and thanks very much for a such application!

Thanks a lot, ghale. I will finish fixing that problem tomorrow... I'm almost falling asleep :)

This problem only affects to PDAs whose regional settings use a comma instead of a dot as a decimal pointer.

_LEM_
30th October 2007, 06:02 AM
How about just save the kml file off to the PDA, and/or allow e-mailing out? That way an external server is not needed.

In that case all the information should be stored in a flat file. I think I could add an option that generates a KML file based on that flat file. I will add it to the to-do list.

Thanks for your suggestions!

_LEM_
30th October 2007, 06:03 AM
Also, do you plan on releasing a version for Google Maps (using API) in the future?

- TKN

I haven't thought about it, but I think it shouldn't be difficult to add. I'll take a look. Thanks!

_LEM_
30th October 2007, 06:08 AM
I was wondering about the same thing. Would it be possible to have an option to save the data to a KML file instead of uploading it to the server? I do not have any data service and would love to use it offline.

Until I add that, you can use do it offline. Just check the option 'If unable to upload position, store in a file for later uploading. Use Tools->'Upload offline positions' for uploading later.'

Later when you get home and you sync your pda, you can upload the positions to the server, by going to Tools->'Upload offline positions'

tariq_niazi
30th October 2007, 06:09 AM
Yes, that would be possible. I'm going to add an option where you can specify the server IP instead of being hard-coded to my server. You will just need to listen to port 80 and process the requests.
I will provide more information about the format of the URLs that are sent from the program.




That's a great idea. I'll try to add that feature as soon as possible.


Are you going to have the option to change the port? I am using port 80 strictly for web server.

- TKN

_LEM_
30th October 2007, 06:16 AM
Are you going to have the option to change the port? I am using port 80 strictly for web server.

- TKN

Sure. Not a problem.

anarche
30th October 2007, 08:45 AM
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

while(!(linux)){wm}
30th October 2007, 03:18 PM
Yes, that would be possible. I'm going to add an option where you can specify the server IP instead of being hard-coded to my server. You will just need to listen to port 80 and process the requests.
I will provide more information about the format of the URLs that are sent from the program.

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.

laakness
30th October 2007, 03:36 PM
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.

_LEM_
30th October 2007, 03:43 PM
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.

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.

warmkiwi99
30th October 2007, 03:43 PM
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

ghale
30th October 2007, 03:49 PM
Hi Staryon,
any (good I hope) news for the problem on non english devices?

xmoo
30th October 2007, 03:54 PM
You the man!

_LEM_
30th October 2007, 03:58 PM
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.

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=

_LEM_
30th October 2007, 03:59 PM
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

Not yet. You can delete the data associate with a trip, but not the trip name. I will add it soon.

_LEM_
30th October 2007, 04:00 PM
Hi Staryon,
any (good I hope) news for the problem on non english devices?

Almost done. I'm testing it right now.

dbaser
30th October 2007, 04:01 PM
staryon...

Check PM.

-db

warmkiwi99
30th October 2007, 04:06 PM
How do you delete the data associated with the trip?

ghale
30th October 2007, 04:17 PM
I'm here waiting for you!!

hellejoep
30th October 2007, 04:22 PM
This works excellent!
I will try this later today on a longer trip.
Keep up the good work!
Cheers,

HJ

_LEM_
30th October 2007, 04:23 PM
I'm here waiting for you!!

It's ready man

_LEM_
30th October 2007, 04:26 PM
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.

_LEM_
30th October 2007, 04:29 PM
How do you delete the data associated with the trip?

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.

MrByte
30th October 2007, 05:37 PM
Great App! Excellent work :)

ghale
30th October 2007, 06:02 PM
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.

laakness
30th October 2007, 06:23 PM
Are you going to post the web code/database structure or define the format it is being sent as?

Edit* - I see the data in the formated URL string. I guess it'd be cool if you posted your code to see how it's handling it and generating the kml file.

_LEM_
30th October 2007, 06:28 PM
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.

Thanks a lot. I'll let you know. At this moment all text is hardcoded, so I will have to make some modifications.

_LEM_
30th October 2007, 06:31 PM
Are you going to post the web code/database structure or define the format it is being sent as?

Yes, but since I'm still making changes to the program and to the database I prefer to wait until I have a more stable version. I hope it's ok for you.

Sane
30th October 2007, 06:41 PM
Yes!!! Is there a way to install this to my girlfriends phone with out her knowing?





NOOOO, just kidding!!!

_LEM_
30th October 2007, 06:50 PM
Yes!!! Is there a way to install this to my girlfriends phone with out her knowing?





NOOOO, just kidding!!!

I would lie If I tell you that I haven't thought about that ;)

Sane
30th October 2007, 07:28 PM
Hahaha... I decided its safer to keep her still chained to the bed...

ishkatar
30th October 2007, 07:46 PM
Yes, but since I'm still making changes to the program and to the database I prefer to wait until I have a more stable version. I hope it's ok for you.
Hi:
Is there a way you can make the call to the web page generic enough so that we could decide what page gets called? I'm asking because I would like to use ASP instead of PHP to capture the call.
Thanks!!

_LEM_
30th October 2007, 08:14 PM
Hi:
Is there a way you can make the call to the web page generic enough so that we could decide what page gets called? I'm asking because I would like to use ASP instead of PHP to capture the call.
Thanks!!

If the format of the URL is exactly the same (only changing the extension from .php to .asp) it should be easy. I can add a parameter in the configuration where you specify the extension of the pages being called.

laakness
30th October 2007, 08:46 PM
Yes, but since I'm still making changes to the program and to the database I prefer to wait until I have a more stable version. I hope it's ok for you.

Yep, that is perfectly fine.

ishkatar
30th October 2007, 09:19 PM
If the format of the URL is exactly the same (only changing the extension from .php to .asp) it should be easy. I can add a parameter in the configuration where you specify the extension of the pages being called.
Great!!! :-) .. Thanks Stayron ... that would be perfect!!

hellejoep
31st October 2007, 10:04 AM
staryon,

I have one problem, I can see my plotted route in Google Earth, but I would like to be able to play this route in Google Earth; but that does not seem to work.
Further, If my internet connection goes down the waypoints are not uploaded afterwards in the same route, but as freestanding waypoints....
Any suggestions?
Anyway, I really love this application!

Cheers,

HJ

vmarchais
31st October 2007, 12:30 PM
good job
as we need to have gprs data connexion
is not possible to utilize wifi connexion ?
anyway very good job
vincent from france

_LEM_
31st October 2007, 12:50 PM
staryon,

I have one problem, I can see my plotted route in Google Earth, but I would like to be able to play this route in Google Earth; but that does not seem to work.
Further, If my internet connection goes down the waypoints are not uploaded afterwards in the same route, but as freestanding waypoints....
Any suggestions?
Anyway, I really love this application!

Cheers,

HJ

Hi hellejoep,

Did you activate the option 'Generate KML files automatically'? You also need to go to Google Earth and check the option 'Fly to position on refresh' (something like that). I wrote a small help file that explains that inside TrackMe. Click on File->Help just in case it helps.

For the second problem, I will check it out. I think I tested it, but maybe I'm missing something.

Regards

_LEM_
31st October 2007, 12:51 PM
good job
as we need to have gprs data connexion
is not possible to utilize wifi connexion ?
anyway very good job
vincent from france

It doesn't matter. You can use any internet connection to upload your positions to the server.

SmartphoneHTC
31st October 2007, 04:34 PM
Wow it's a great program continue your work.
Thanks

powerppc
31st October 2007, 06:07 PM
Staryon, Great job on the software. I have tested other software such as Mologogo, Accutracking, Reperion, 3DTracking, Navizon, among others that I have tested and a lot of them are Bloatware. Meaning they are bloated with crap that is not needed except to do simple things such as sending the location to the server and the ability to have anyone view your location publicly and viewable via the PDA.

The only non-bloatware software out there that are so perfect, bug free, reliable, accurate, fast GPS connection with HOT GPS is Accutracking. The problem with accutracking is that it's not free. Reperion is great too, free as well, a little slower than accutracking and is not as fast as getting the GPS Signal. Reperion requires .NET Compact Framework and it's a resource hog. Then there is Mologogo. Mologogo is fine if you're going to use it with your friends, but most of the features in there does not work. Such as messaging, and the maps load very slow and it crash a lot. 3DTracking, I didn't even bother with this software, it crashes a lot more than Mologogo. Navizon is also bloatware with information you don't need.

So my point is, yours is as close as it could get with tracking software that is simple to the program, not loading a lot of un-important stuff and it works.

Maybe you can make two version. One that goes in the background all the time and doing simple task, while the other is more complex.

Other than that, I will keep on testing and let you know the result. Keep up the good work.

_LEM_
31st October 2007, 10:33 PM
powerppc,

Thanks a lot for your suggestions. By you having tested so many programs it's great to get some ideas/suggestions from you for this one. You're completely right, my idea was to keep it as simple as possible. I'm going to try to add all the requests that people from this forum have asked me, but I'll do my best to keep it easy to use.

I think it's a good idea that user can select between 'Simple' and 'Advanced' mode. I could hide some options in the 'Simple' mode.

Please don't hesitate in posting new ideas or changes that you would like to see in TrackMe.

Regards

tariq_niazi
31st October 2007, 11:09 PM
I was wondering if this program is "only" made for HTC Kaiser? If it is not, then would it be good to move it to the Hacking and Development section of this forum so others will know about this great application to use on other GPS enabled phones?

Moderators, just my idea.

- TKN

_LEM_
1st November 2007, 06:46 AM
New version available.


11/01/07
- Added option to disconnect/connect GPS between uploads. (Power saving)
- Configuration loading/saving has been remade (sorry guys, but you will have to reenter all your settings. I promise this is the last time!)

_LEM_
1st November 2007, 06:49 AM
I was wondering if this program is "only" made for HTC Kaiser? If it is not, then would it be good to move it to the Hacking and Development section of this forum so others will know about this great application to use on other GPS enabled phones?

Moderators, just my idea.

- TKN

tariq_niazi,

It should work with any PDA (I haven't tested though) As long as you connect to the PDA using a COM port, it should work fine.
Thanks for your comments!

tiptoekirk
1st November 2007, 10:49 AM
New version available.


11/01/07
- Added option to disconnect/connect GPS between uploads. (Power saving)
- Configuration loading/saving has been remade (sorry guys, but you will have to reenter all your settings. I promise this is the last time!)


You live in the DC area it appears... I know that route very well the Greenway.. I plan on testing this software and I will will give you feedback! Thanks!

peter7
1st November 2007, 02:53 PM
Hello - is this software also working with google maps ???

Thanks myrin

_LEM_
1st November 2007, 02:59 PM
Not yet. At this moment only with Google Earth.

powerppc
1st November 2007, 07:51 PM
I have not yet installed it but it looks really cool from the screen shots. I have been using 3DTracking (free) but it is not without its problems and does not look as comprehensive as this. Does it carry on logging position after you power-down (standby) the Kaiser? 3DTracking does and its a real pain as it means you have to keep the screen on all the time!!

The GPS Turns off if you power down the device. However, with this program, it keeps the light on unless you tell it to shut the screen off. The GPS will still be on with the screen off and sending data.

Staryon did a good job implementing the screen off. I have a button that is remapped to turn the screen off. I have this gps tracking on all the time and it doesn't waste that much more battery since it's set to 15m to not send data.

Staryon, Is there a way to automatically turn off the screen, to save more battery rather than manually push a button?

Keep up the good work.

Chainfire
1st November 2007, 07:56 PM
Absolutely AWESOME app! Thanks!

_LEM_
1st November 2007, 08:02 PM
The GPS Turns off if you power down the device. However, with this program, it keeps the light on unless you tell it to shut the screen off. The GPS will still be on with the screen off and sending data.

Staryon did a good job implementing the screen off. I have a button that is remapped to turn the screen off. I have this gps tracking on all the time and it doesn't waste that much more battery since it's set to 15m to not send data.

Staryon, Is there a way to automatically turn off the screen, to save more battery rather than manually push a button?

Keep up the good work.

Yes, I was planning in adding that too. At this moment I'm working on this special mode where everything is stored locally instead of uploading to a server. As soon as I finish with that, I will implement that function.

Regards

hendrixus
1st November 2007, 11:23 PM
Is this program about the same as This (http://www.startmobiel.com/routetracker/RouteTracker.cab)?

It logs your GPS route and export it to Google earth.

http://www.startmobiel.com/routetracker/screenshot.jpg

Tabs "route", "Location", "Settings" and the "info"probely äbout"

This program only works on Pocket PC with build-in GPS like the HTC P3600

panosha
2nd November 2007, 01:05 AM
Any English version or link ? :)

hendrixus
2nd November 2007, 01:07 AM
Any English version or link ? :)
nooooooooooooooooooooooooooo

powerppc
2nd November 2007, 01:41 AM
Is this program about the same as This (http://www.startmobiel.com/routetracker/RouteTracker.cab)?

It logs your GPS route and export it to Google earth.

http://www.startmobiel.com/routetracker/screenshot.jpg

Tabs "route", "Location", "Settings" and the "info"probely äbout"

This program only works on Pocket PC with build-in GPS like the HTC P3600

That program looks like it's for off-line tracker and the kml or gpx can be exported to Google Earth for review. I don't think it's real time.

hendrixus
2nd November 2007, 11:37 AM
That program looks like it's for off-line tracker and the kml or gpx can be exported to Google Earth for review. I don't think it's real time.

Yeah is is offline. I basically don't need realtime since I am not using GPRS. But as I said it isn't still working with seperate GPS-receivers

Jewcookie
2nd November 2007, 12:20 PM
This app is pretty cool, I tested it when i walked a block around my house when my dad was following me on screen. He opened the door for me when i walked in front of the house. :P

padawan
2nd November 2007, 03:15 PM
Nice app. Only (bug) maybe is that it cannot connect to your webserver unless i already have made a connection with pie then everything works.

Would be nice to link the kml data to google maps.

I'm out...

Matt-Helm
2nd November 2007, 04:04 PM
Very good. In that case I can provide everything that you need to use your website.

However, I will have to make it some changes in my code because at this moment the HTTP calls are hardcoded to my website. Once I have this done I will post it here.



I'm looking forward to getting these files as well!

padawan
2nd November 2007, 04:09 PM
From what I read on google maps you are supposed to be able to access your kml data from maps.google.com in the search box. Would make sense since that is what Google Earth is doing (as it appears).

I tried it and the response was "http://luisespinosa.com:80/... could not be displayed because it contains errors."

Anyone else try this yet?

I'm out...

_LEM_
2nd November 2007, 04:17 PM
From what I read on google maps you are supposed to be able to access your kml data from maps.google.com in the search box. Would make sense since that is what Google Earth is doing (as it appears).

I tried it and the response was "http://luisespinosa.com:80/... could not be displayed because it contains errors."

Anyone else try this yet?

I'm out...

Yes, I just tried it and you're right, it doesn't work. I am going to get a KML that works with Google Maps and I will compare it with the one that I generate, just to see if there are some differences.

_LEM_
2nd November 2007, 04:20 PM
Updates...

I'm working on a new version that lets you to choose if you want to store your data in a local file or on a remote server.

Also, when you generate KML files you will be able to choose where you want it. (local or remote). So even if you all your data is stored locally, you will be able to place the KML file on a remote server.


By the way.... how do you guys think I should call the data that I get from the GPS? My English is not great and I want to name it in such a way that can be understood by anybody.

Locations? Points? Positions? Fixes?

Thanks

while(!(linux)){wm}
2nd November 2007, 04:31 PM
"Fixes" makes sense to me. "positions" also works. Maybe "GPS Fixes"? "GPS Position Fixes"?

I haven't looked at this thread for a few days. You're really doing great, Staryon! Thanks for implementing my suggestions. I also would like to specify the extension in the URL. I usually use .cgi

Keep up the great work!

while(!(linux)){wm}
2nd November 2007, 04:33 PM
Staryon,

Another thing i noticed is that when i put my Kaiser in landscape mode, i can't scroll down in the configuration menu. Would it be possible to add a scroll bar?

taiseer999
2nd November 2007, 04:44 PM
Am I the only one getting an error message each time I open the program;

Unexpected error has occurred.............

I am using Aku 0.7 cooked rom

_LEM_
2nd November 2007, 04:50 PM
uhmm.. I haven't seen that before... Try to uninstall the program.
After that, go to the folder Program Files\TrackMe and delete whatever is left there. Install it again and see what happens.

_LEM_
2nd November 2007, 04:51 PM
Staryon,

Another thing i noticed is that when i put my Kaiser in landscape mode, i can't scroll down in the configuration menu. Would it be possible to add a scroll bar?

Sure. It shouldn't be a problem.

taiseer999
2nd November 2007, 04:56 PM
uhmm.. I haven't seen that before... Try to uninstall the program.
After that, go to the folder Program Files\TrackMe and delete whatever is left there. Install it again and see what happens.

Thanks for your reply;
Did that already, same stupid error message is coming up, is it due to the rom installed "Another Hybrid Rom Build 18533.0.7.0 with CE OS 5.2.1921 (http://forum.xda-developers.com/showthread.php?t=340909)" ??

Edit1
PS..

Your other app FFF is runinng fine

Jewcookie
2nd November 2007, 05:15 PM
Updates...

I'm working on a new version that lets you to choose if you want to store your data in a local file or on a remote server.

Also, when you generate KML files you will be able to choose where you want it. (local or remote). So even if you all your data is stored locally, you will be able to place the KML file on a remote server.


By the way.... how do you guys think I should call the data that I get from the GPS? My English is not great and I want to name it in such a way that can be understood by anybody.

Locations? Points? Positions? Fixes?

Thanks

You're doing a great job man. Waiting for the server thingy so i can put it on my server 2. But I'm a server noob so hope it comes with a clear readme ;)
About the position name, I think you should name it GPS positions. Is best to understand for most people I think.

powerppc
2nd November 2007, 05:29 PM
Staryon,

Could you put an option to auto start the search of satellite. So when I start the program, i don't have to click on the start button. :)

Thanks.

I tried the automatic gps turn on/off after each download. It works fine if it's more than 10 seconds of upload time, but when I set it to 10s, it seems like the GPS is refreshing too much, looks like it's working too hard. No big deal, but maybe the automatic gps turn on/off shouldn't be enabled if the user chooses 10s? Just a suggestion.

Also, aren't you getting too much ping when the upload is 10s? I use 10s while using the program Reperion, but I know Reperion is for industrial use and they get a lot of hits with no or little effect on their server.

_LEM_
2nd November 2007, 05:39 PM
Thanks for your reply;
Did that already, same stupid error message is coming up, is it due to the rom installed "Another Hybrid Rom Build 18533.0.7.0 with CE OS 5.2.1921 (http://forum.xda-developers.com/showthread.php?t=340909)" ??

Edit1
PS..

Your other app FFF is runinng fine

Not sure man. I haven't tried that rom.
Just in case, could you double check that you have the Microsoft's Compact Framework installed? I think you can see that from the 'Remove programs' list.

_LEM_
2nd November 2007, 05:43 PM
Staryon,

Could you put an option to auto start the search of satellite. So when I start the program, i don't have to click on the start button. :)



Not a problem.


I tried the automatic gps turn on/off after each download. It works fine if it's more than 10 seconds of upload time, but when I set it to 10s, it seems like the GPS is refreshing too much, looks like it's working too hard. No big deal, but maybe the automatic gps turn on/off shouldn't be enabled if the user chooses 10s? Just a suggestion.

Also, aren't you getting too much ping when the upload is 10s? I use 10s while using the program Reperion, but I know Reperion is for industrial use and they get a lot of hits with no or little effect on their server.

I don't think it's worth it to turn off/on the GPS every 10s. Keep in mind that when you turn it off, and you turn it on again it will have to get a new fix, and this may take a while. I basically added that option when you plan to upload data like every 30 minutes or even more, so your GPS is not on all the time.

On the other hand,yes, my webserver is kind of slow. Actually I have my connection timeout set to 20s because it fails sometimes.

taiseer999
2nd November 2007, 05:48 PM
Not sure man. I haven't tried that rom.
Just in case, could you double check that you have the Microsoft's Compact Framework installed? I think you can see that from the 'Remove programs' list.


This is the version preload by default 2.0.7045.0

_LEM_
3rd November 2007, 12:03 AM
This is the version preload by default 2.0.7045.0

sorry mate. I'm not sure what to tell you. That version that you have should be ok. I hope somebody else can help you.

Regards

GpsPasSion
3rd November 2007, 04:21 AM
Nice app, thanks. I've been using FindU/Reperion for years and I don't think it's a fair comparison since the web part of Reperion is much more advanced.

One suggestion, could you add a "forced position" update and display it with a different color in GE ? Would be handy if you're uploading every 30 minutes. Ideally adding a brief comment maybe.

Good idea to turn the GPS on/off, first time I've seen that.

sarab99
3rd November 2007, 06:23 PM
great job man, many thanks

_LEM_
3rd November 2007, 06:42 PM
One suggestion, could you add a "forced position" update and display it with a different color in GE ? Would be handy if you're uploading every 30 minutes. Ideally adding a brief comment maybe.


Thanks for the suggestion. Added to the to-do list.

tariq_niazi
3rd November 2007, 08:00 PM
Is it possible to some how use GPSGate with the server? What I mean is that in GPSGate, you can have TCP transfer so basically you send the coordinates to the server that in turn makes the kml file? Just an idea.

- TKN

DoughtCom
3rd November 2007, 10:33 PM
I figured I would help out with the project so I made a ASP.Net page that would basically scrape staryon's kml file and then set the mime-type which seemed to help a bit with the google maps. There's still a few errors (something to do with the style) but it at least works in google maps now.

when referencing the kml file in maps.google.com

Put the following in the "Search Map" textbox:
http://www.thedoughtcom.com/trackmehelper/default.aspx?kmlfile=#####.kml

Where ##### is your kml filename setup in the trackme program.

You can also put in the following:
http://www.thedoughtcom.com/trackmehelper/default.aspx?site=#####

Where ##### is your full URL to the kml file.

I tested it a bit this morning and it works like a charm! I take no credit/responsability for this amazing program, just figured I would help until staryon can get google maps working!

Peace
-Shawn

warmkiwi99
4th November 2007, 12:03 AM
can't get this to work. can you give a real example of the url?

use <username> for the trackme username part

thanks

DoughtCom
4th November 2007, 01:59 AM
Sure.... here's a direct link to mine.

http://maps.google.com/maps?f=q&hl=en&geocode=&time=&date=&ttype=&q=http:%2F%2Fwww.thedoughtcom.com%2Ftrackmehelper% 2Fdefault.aspx%3Fsite%3Dhttp:%2F%2Fluisespinosa.co m%2Ftrackme%2Froutes%2Fdoughtcom.kml&ie=UTF8&ll=33.004304,-96.542691&spn=0.001966,0.004227&z=19&om=1

Hope it works for other people :)

_LEM_
4th November 2007, 03:20 AM
I figured I would help out with the project so I made a ASP.Net page that would basically scrape staryon's kml file and then set the mime-type which seemed to help a bit with the google maps. There's still a few errors (something to do with the style) but it at least works in google maps now.

when referencing the kml file in maps.google.com

Put the following in the "Search Map" textbox:
http://www.thedoughtcom.com/trackmehelper/default.aspx?kmlfile=#####.kml

Where ##### is your kml filename setup in the trackme program.

You can also put in the following:
http://www.thedoughtcom.com/trackmehelper/default.aspx?site=#####

Where ##### is your full URL to the kml file.

I tested it a bit this morning and it works like a charm! I take no credit/responsability for this amazing program, just figured I would help until staryon can get google maps working!

Peace
-Shawn

DoughtCom, that's awesome man! thanks a lot for contributing to the program. I will try to fix the mime-type problem that you mention so we make it compatible with Google Maps.

warmkiwi99
4th November 2007, 02:37 PM
brilliant - thanks

jcleek
4th November 2007, 05:44 PM
Looks like Staryon and DoughtCom need to colaborate a bit and make this app all that it can be. It certainly looks promissing!

Staryon, I don't see a list of To-Do items in your first post. Perhaps you can update it to list the things you want to do to the program so people can help flush out requirements and make suggestions? On a selfish note, things I would love to see:

1) Code for those with hosts to be able to use their own servers - this does several things including reducing your bandwidth which isn't free, and can allow say a company to use it and put all of their employees on one page.

2) Direct update for Google Maps - this provides a completely web driven output so that no software needs to be installed. The Google API can definitely support this as DoughtCom has shown.

You already have an awesome capability, but it can do much more without becoming a bloatware application. Please do continue the development, and consider open sourcing it.

Dazzuk
4th November 2007, 07:04 PM
Superb application. Well done keep up the good work.

_LEM_
4th November 2007, 08:04 PM
Looks like Staryon and DoughtCom need to colaborate a bit and make this app all that it can be. It certainly looks promissing!

Staryon, I don't see a list of To-Do items in your first post. Perhaps you can update it to list the things you want to do to the program so people can help flush out requirements and make suggestions? On a selfish note, things I would love to see:

1) Code for those with hosts to be able to use their own servers - this does several things including reducing your bandwidth which isn't free, and can allow say a company to use it and put all of their employees on one page.

2) Direct update for Google Maps - this provides a completely web driven output so that no software needs to be installed. The Google API can definitely support this as DoughtCom has shown.

You already have an awesome capability, but it can do much more without becoming a bloatware application. Please do continue the development, and consider open sourcing it.


I just updated the first post with my to-do list. I also added your Google Maps API request.




TO-DO List:

- Export to GPX files
- Provide PHP pages and mysql database for using own server.
- Generate KML/GPX files locally or remotely.
- Store GPS positions locally or remotely.
- For remote use, let the user choose between ASP or PHP pages.
- Export using Google API
- Delete trips
- Export text to different languages.
- Support for Smartphones.
- Simple and Advanced mode.
- Fix problem with KML files (mime-type problem?)
- Auto start option.
- Add a "forced position" update and display it with a different color. (add comments too)

_LEM_
5th November 2007, 12:46 AM
hey guys,

I'm done with the part that lets you to generate the kml files locally or remotely. You can also generate them remotely and then download them to your PDA. That's working fine.

at this moment I'm stuck trying to upload a KML generated local file... this is driving me nuts! :(

I hope to have a new version soon!

anarche
5th November 2007, 12:55 AM
hey guys,

I'm done with the part that lets you to generate the kml files locally or remotely. You can also generate them remotely and then download them to your PDA. That's working fine.

at this moment I'm stuck trying to upload a KML generated local file... this is driving me nuts! :(

I hope to have a new version soon!

Sounds great. Great to have a dedicated developer working on such a great app.

SKSAustin
5th November 2007, 01:05 PM
Hey..

Sorry for the question, but after i use the programm and have made an upload of both.. "offline position" and "Google Earth" - all went ok and uploadet - my problem now is...

Where i can see my route and the account that the Programm made, what account is this on what side? :-)

Maybe some manuel like Dokument can help.. ? :)

cu
sksaustin

anarche
6th November 2007, 08:38 AM
Hey..

Sorry for the question, but after i use the programm and have made an upload of both.. "offline position" and "Google Earth" - all went ok and uploadet - my problem now is...

Where i can see my route and the account that the Programm made, what account is this on what side? :-)

Maybe some manuel like Dokument can help.. ? :)

cu
sksaustin

In the settings there's a tab to setup your "account". Keep in mind from your PDA you are creating the account.

Once you setup your username/password, you can then visit your page at:

http://luisespinosa.com/trackme/routes/username.kml (where username is replaced with the account name you provided in the configuration.



_________________________________

Strayton: Any chance of using a shorter domain/path? :-)

_LEM_
6th November 2007, 02:02 PM
Strayton: Any chance of using a shorter domain/path? :-)


I just made a change on my web server and now you can just enter this:

http://luisespinosa.com/<username>

Try it and let me know if it works.


By the way, I'm already testing the new version. So far... so good!! If everything goes ok, I will upload it tomorrow.

jcleek
6th November 2007, 05:00 PM
Sorry for the large image but I didn't want to lose any of the detail...

I had a chance to test out the application this morning and wanted to provide feedback on my experiences, expectations and possibly make some recommendations on changes. First, as I mentioned before this app is a really nice tool. With (in my non-developer eyes) a small amount of effort it can be turned into a great tool with application for individuals as well as fleet management. No, I am not a fleet manager, just throwing the idea out there.

You can check out my test track here (http://maps.google.com/maps?f=q&hl=en&geocode=&time=&date=&ttype=&q=http:%2F%2Fwww.thedoughtcom.com%2Ftrackmehelper% 2Fdefault.aspx%3Fsite%3Dhttp:%2F%2Fluisespinosa.co m%2Ftrackme%2Froutes%2FSlacker.kml)

And here is a screen capture just in case you are reading this after I have done a new track:

http://www.getcis.com/MGN_Images/TrackMe.jpg

Going out (NW) there was little traffic so I moved pretty quickly. Coming back (SE) there was a lot of traffic so there are more plots. A pretty good test I think. Someone else was driving so I could play with the app and look at the Google Maps plot (THANKS DOUGHTCOM!) in semi-real time. The comments and recommendations are based on my experience:

1) The application is super simple to use even without any instructions, with one exception: The previously mentioned confusing account information page. I know the reason for it and how to use it, but without the instructions provided here I would have had no idea.
2) If the application loses internet connectivity it stores in an offline file. Perfect. Except when connectivity is established again I have to stop the collecting and manually upload the data.
3) When a break occurs in connectivity and an offline file is created, when it is uploaded the data is put in the proper order on the graphic plot, so in theory no portion of the trip should be lost. Nice feature.
4) Application plays well with others. I ran WLM maps with GPS while running TrackMe and both shared GPS data with no problem. I do not have any GPS sharing software running, this behavior was on a HTC Tytn II standard ROM unaltered from the factory.
5) Also stated before, the application keeps the Pocket PC on. You can turn off the screen but you can not put the device to sleep.
6) It appears that each time the application is restarted a new "trip" is created.

Suggestions:
1) Regarding offline data - should automatically upload when internet connection is reestablished and should not require you to STOP data collection.
2) Not really an application problem but doughcom's page put into Google Maps occasionally would not display and always gave a partial error indicating a problem with a line in the code related to the style sheet. See the highlighted section in the screen capture. Clicking the SHOW ERRORS link showed "Line 1: <Style> contains syntax errors"
3) I am not sure it is possible but would be nice if this could allow you to power off the device and still get GPS data and upload it. Activesync still works when the device is off and I am notified about new mail messages so I know applications can still run.
4) It would be nice to be able to save off a plot on Google Maps or something that would allow me to seperate my trips out. If I restart the application my previous trip gets wiped out.
5) Manual trip reset option to force deletion of previous data.

This is a really cool little application, and with some work it can become a great tool for individuals and probably fleet managers looking to keep track of their vehicles, or (a la "Office Space") keep track of employees. I am looking forward to playing with the next version!

jcleek
6th November 2007, 05:22 PM
I just made a change on my web server and now you can just enter this:

http://luisespinosa.com/<username>

Try it and let me know if it works.


By the way, I'm already testing the new version. So far... so good!! If everything goes ok, I will upload it tomorrow.


It works correctly with the doughtcom page for me.

_LEM_
6th November 2007, 06:06 PM
Suggestions:
1) Regarding offline data - should automatically upload when internet connection is reestablished and should not require you to STOP data collection.
2) Not really an application problem but doughcom's page put into Google Maps occasionally would not display and always gave a partial error indicating a problem with a line in the code related to the style sheet. See the highlighted section in the screen capture. Clicking the SHOW ERRORS link showed "Line 1: <Style> contains syntax errors"
3) I am not sure it is possible but would be nice if this could allow you to power off the device and still get GPS data and upload it. Activesync still works when the device is off and I am notified about new mail messages so I know applications can still run.
4) It would be nice to be able to save off a plot on Google Maps or something that would allow me to seperate my trips out. If I restart the application my previous trip gets wiped out.
5) Manual trip reset option to force deletion of previous data.


jcleek, thanks a lot for that great review! I love when people do that. It always encourages me to keep developing and updating the software.

Regarding your requests...

1. Yes, it makes sense. I will add an option in the Configuration to do that.
2. That's in the to-do list. I will try to have that fixed for the next version.
3. I will have to research on that. At this moment I don't know how to do it but I'm sure there has to be a way.
4. uhmm... not sure if I understand. When you restart, if you click on 'Get existing trips' you should get your trips back. That's what you mean?
5. Added to the to-do list.

Regards

while(!(linux)){wm}
6th November 2007, 07:25 PM
staryon,

I have my web server receiving the data now and generating a kml file. However, even though the information gets to my script, TrackMe tells me that it was not able to send the data. Is there some response that my server has to give so that TrackMe knows everything worked?

Thanks

jcleek
6th November 2007, 07:42 PM
4. uhmm... not sure if I understand. When you restart, if you click on 'Get existing trips' you should get your trips back. That's what you mean?

Don't thank us, you are the one doing the work and obviously we appreciate it. Thank you.

I am not sure how to explain what I mean, or how to implement it. A scenario might help you understand what I am having trouble explaining:

You go on a road trip to Sturgis (yes, I ride motorcycles AND I am a geek). It is a great trip and you want to save the entire route but dont want to leave the phone on the entire time. If you turn the phone off the application stops. If you have to reset the phone, the application stops. And that will cause the route to be wiped by the new route. But you want to keep the entire route. How? Without a computer to download the google file there is no way for me to capture that data.

Does that help understand what I mean? It would be nice to locally and remotely record a trip until a manual reset is done. Have you ever used a full GPS like a Garmin? I have a Zumo and it records a trip log until I reset it or it runs out of memory. I can turn the Zumo off and on, take it off the bike, etc and the trip log will start right back up and continue where it left off.

Hope that helps!

_LEM_
6th November 2007, 08:59 PM
staryon,

I have my web server receiving the data now and generating a kml file. However, even though the information gets to my script, TrackMe tells me that it was not able to send the data. Is there some response that my server has to give so that TrackMe knows everything worked?

Thanks

I see you guys cannot wait until I release the files! :D
Ok, here are the php files and the database script.

All this may change for the next version, so keep that in mind if you want to use them.

By the way, if you guys find something that can be improved or changed, please let me know. I'm not an expert writing PHP files!

while(!(linux)){wm}
6th November 2007, 09:20 PM
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.

_LEM_
6th November 2007, 09:40 PM
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.

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

while(!(linux)){wm}
6th November 2007, 09:55 PM
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....
Regards

That would be perfect!

gthing
7th November 2007, 06:05 AM
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?

while(!(linux)){wm}
7th November 2007, 07:07 AM
staryon,

I have my web server receiving the data now and generating a kml file. However, even though the information gets to my script, TrackMe tells me that it was not able to send the data. Is there some response that my server has to give so that TrackMe knows everything worked?

Thanks

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.

gthing
7th November 2007, 08:55 AM
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.

_LEM_
7th November 2007, 04:09 PM
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.

_LEM_
7th November 2007, 04:12 PM
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.

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=

evilc
7th November 2007, 04:18 PM
If you can get it to output the data in GPX or CSV format, you could use some software I have written to host and display the routes overlaid on a google map:

https://sourceforge.net/projects/geoforum

Demo here (http://www.evilc.com/phpbb/gp.php)

Elevation data would be preserved when you uploaded it, at the moment there is no code to display elevation data on the map, but it is something I have wanted to add, so it may come. Being open source, someone else could always add it.

while(!(linux)){wm}
7th November 2007, 04:46 PM
evilc,

Very interesting site. I can see that becoming a common feature of community websites as GPS and internet enabled phones become more common.

I'd like to mention that for single users, you can take the KML file and put it directly into google maps. Just type the URL of your KML file into the seach box in google maps. You can also call it up with a URL if you want to automate it. Thats what i have my script doing right now.

Since i'm generating my own kml files, i'm thinking of doing things like tracks, etc. I already have elevation worked into it, though trackme is not outputting elevation yet.

How many people would be interested in a single perl script to handle the receiving and storage of data, as well as the generation of kml files and an index file to display all the different trips? I'm a bit busy now, but if anyone is interested, i could try to clean it up and give it out here. Its a quick and dirty solution for a single user with some perl experience.

laakness
7th November 2007, 05:02 PM
Files work great! Got them on the webserver, created a routes folder so that it was writable by the apache user and was off and running.

Thanks!

jcleek
7th November 2007, 06:22 PM
evilc,

Very interesting site. I can see that becoming a common feature of community websites as GPS and internet enabled phones become more common.

I'd like to mention that for single users, you can take the KML file and put it directly into google maps. Just type the URL of your KML file into the seach box in google maps. You can also call it up with a URL if you want to automate it. Thats what i have my script doing right now.

Since i'm generating my own kml files, i'm thinking of doing things like tracks, etc. I already have elevation worked into it, though trackme is not outputting elevation yet.

How many people would be interested in a single perl script to handle the receiving and storage of data, as well as the generation of kml files and an index file to display all the different trips? I'm a bit busy now, but if anyone is interested, i could try to clean it up and give it out here. Its a quick and dirty solution for a single user with some perl experience.

I am interested in "a" solution and it seems that several people have pieces of the puzzle. Obviously the best solution is for the application on the phone to do all of the work and not require several other scripts to convert data to get it in a Google Maps format.

With that said I would like to get a copy of your PERL script.

gthing
7th November 2007, 07:38 PM
Files work great! Got them on the webserver, created a routes folder so that it was writable by the apache user and was off and running.

Thanks!

What else did you have to do? I can't seem to get it to work. The username and password are not getting passed into the server-side script.

laakness
7th November 2007, 07:55 PM
Here is what I did.

Using phpMyAdmin I manually created a database called trackme, I then copied the create statements into the SQL command window which created the tables within the trackme database.

I created a folder in the root of my web server called trackme and placed the 2 .php files in there. I created a trackme/routes folder and made the routes folder owner "apache" (use whatever user your web server runs as). I then made that folder writable by owner.

Edit the two php files to insert your host,user,password for your mySQL server. Then edit the database name to reflect the name you gave it earlier.

On the phone I placed a user and password in the settings of TrackMe and changed the host url to mine. The application automatically tries to call yoururl.com/trackme/requests.php with all of the data url encoded into the request...including your password.

Try watching your apache access logs while you have the phone update your location. You'll see the data in the url in plain text.

_LEM_
8th November 2007, 12:49 AM
Update...


hey guys... I'm still debugging and adding some new features to the new version. I prefer to wait until I know that not major bugs are found.
Many new features are included!

Sorry about the delay...
I'll try to release it as soon as possible.

DoughtCom
8th November 2007, 03:50 AM
I talked to Staryon earlier in the day and he said I could help out with the web portion of this project. I've started working on it tonight and have a few hours into it and almost have a working prototype.

I'm going to start out simple and get the interface/features nailed down. But these are the things to look forward to in the first release (which will be VERY soon)

1.) You'll be able to manage "trips" via their trip names, view different "trips", etc.
2.) There'll be an option to have a login before people can see your embedded "trips" or live trip, where you can specify a UN/PW.
3.) You can change your password.
4.) There'll be code you can use to embed an i-frame of the data on your website (still ironing out this idea).

Some other ideas I have.

1.) You can have it contact people based on your location (ie. e-mail, SMS (maybe?)) someone when you get to your destination.
2.) Stylize your current map overlay, by selecting colors and whatnot. I'm not sure about this I'll have to look into the google map API.

while(!(linux)){wm}
8th November 2007, 06:56 AM
Ok, i cleaned up the code a bit and put in comments.

This is a single perl script that stands on its own. It handles the receiving and storage of positions and the generation of KML files and an HTML index. It is mostly designed for a single user, and does not pay attention to usernames and passwords at all. You will probably need to have some experience using perl, but if you do, it should take only minutes to set up and configure.

This is a simple perl script which will do the following-

- Receive GPS data from the URL
- Store this data in a text file
- Keep data sorted by date
- Generate KML files to be viewed in Google Maps or Google Earth
- Generate an HTML index with easy links to view in Google Maps and Earth

Usage-

- The current version of TrackMe requires that this be in placed in a directory called "trackme" at the root of your domain.
- Currently trackme looks for requests.php rather than requests.cgi. Hopefully this will be fixed soon, but if you want to use it now, you will have to rename the file to requests.php and tell your server to handle it as perl rather than php.
- There are some variables that need to be set, so open it and look at those.
- If you run the script without any arguments, it will generate an HTML index
- If it receives arguments, it will automatically generate a KML file with all positions received and a separate one with just the current position.
- It can be generate and store different data sets based on trip name
- It will generate a new HTML index each time with any updates

The PHP/SQL solution that everyone else is talking about here is a much cleaner way of handling this data... however, it really isnt necessary for my needs, and i'm more familiar with perl. If anyone finds this useful and modifies the code at all, please email me your updated code. :)

I am also using a KML file which when loaded into google earth, tells it to keep updating the position at a given interval. I might integrate that into the index generating code...

gthing
8th November 2007, 10:12 AM
I talked to Staryon earlier in the day and he said I could help out with the web portion of this project. I've started working on it tonight and have a few hours into it and almost have a working prototype.

I'm going to start out simple and get the interface/features nailed down. But these are the things to look forward to in the first release (which will be VERY soon)

1.) You'll be able to manage "trips" via their trip names, view different "trips", etc.
2.) There'll be an option to have a login before people can see your embedded "trips" or live trip, where you can specify a UN/PW.
3.) You can change your password.
4.) There'll be code you can use to embed an i-frame of the data on your website (still ironing out this idea).

Some other ideas I have.

1.) You can have it contact people based on your location (ie. e-mail, SMS (maybe?)) someone when you get to your destination.
2.) Stylize your current map overlay, by selecting colors and whatnot. I'm not sure about this I'll have to look into the google map API.

Hey this sounds really cool. I have another idea ...

I've seen program where you could perform functions by sending sms messages to your phone.

It would be cool if you could activate trackme via a text message - that way if your phone was ever lost or stolen, you could go knock down the guy's door!

jcleek
8th November 2007, 11:26 AM
I talked to Staryon earlier in the day and he said I could help out with the web portion of this project. I've started working on it tonight and have a few hours into it and almost have a working prototype.

I'm going to start out simple and get the interface/features nailed down. But these are the things to look forward to in the first release (which will be VERY soon)

1.) You'll be able to manage "trips" via their trip names, view different "trips", etc.
2.) There'll be an option to have a login before people can see your embedded "trips" or live trip, where you can specify a UN/PW.
3.) You can change your password.
4.) There'll be code you can use to embed an i-frame of the data on your website (still ironing out this idea).

Some other ideas I have.

1.) You can have it contact people based on your location (ie. e-mail, SMS (maybe?)) someone when you get to your destination.
2.) Stylize your current map overlay, by selecting colors and whatnot. I'm not sure about this I'll have to look into the google map API.

Awesome! Are you writing this in php or asp?

derek-farn
8th November 2007, 12:54 PM
Great idea for a tool. Why not also make the data compatible with that used by the Open Street Map project: www.openstreetmap.org Then one day we will have some open source maps :)

_LEM_
9th November 2007, 02:48 AM
Thanks for your suggestion, derek-farn. I'll keep that in mind for the future.

while(!(linux)){wm} and DoughtCom,

**THANKS SO MUCH** for adding those cool features to the program. I really really appreciate your cooperation.


The new version is ready. The reason I haven't uploaded it yet is because I'm trying to find a bug that happens when trying to upload a kml file that was generated locally. This bug only happens sometimes and it's hard to debug. As soon as I have this resolved, I will upload it.

Regards and thanks for your patience!

GpsPasSion
9th November 2007, 11:12 AM
Can't wait to try the new version, have you given some though into adding a "waypoint" button to memorize a spot on the fly, on top of the automatic updates ?

cre8or
9th November 2007, 01:14 PM
Another cool option to had to this software would be to copy our current GPS position and also to copy our current GPS position in a google maps webpage format, so that we would be able to send our position to other ppl via SMS ou EMAIL:

We would be able to have a text like this and copy it to EMAIL our SMS:

Current GPS position: xxxxxxx, xxxxxxxx
Google Maps: http://maps.google.com/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


PocketTracker from KAI software uses a function GPS2SMS to do something like that....
http://www.pocketkai.net/asp/index.html?seitex=http://www.pocketkai.net/asp/details.aspx?383

It would be great to had this option.

MPIIIMan
9th November 2007, 02:41 PM
This is pretty flippin sweet!

I used it on my way into work this morning.

Worked like a champ.

Very nice job in programming this application.

As I am a web developer I'm looking forward to having the option to use my own MySQL database. I love data :) and would like to see how I could use it in other ways.

MPIIIMan
9th November 2007, 06:37 PM
Well guess I should of read all the posts to see that the option to use your own database was an option. I managed to get it all set up, but I had some problems. This was due to the way my php is setup.

Had to add the following to requests.php

$action = $_GET["action"];
$username = $_GET["username"];
$password = $_GET["password"];
$lat = $_GET["lat"];
$long = $_GET["long"];
$dateadded = $_GET["dateadded"];
$dateoccurred = $_GET["dateoccurred"];
$datefrom = $_GET["datefrom"];
$dateto = $_GET["dateto"];
$tripname = $_GET["tripname"];



And adding the following to googleearth.php

$action = $_GET["action"];
$username = $_GET["username"];
$password = $_GET["password"];
$lat = $_GET["lat"];
$long = $_GET["long"];
$dateadded = $_GET["dateadded"];
$dateoccurred = $_GET["dateoccurred"];
$datefrom = $_GET["datefrom"];
$dateto = $_GET["dateto"];
$tripname = $_GET["tripname"];


Have to declare those variables yo!

DoughtCom
9th November 2007, 08:59 PM
I'm doing all of my changes/additions in ASP.Net 2.0 in C#. I'm connecting to a SQL 2005 server but could connect to a SQL 2000 server as well.

In regards to PHP I do not know PHP super well and wanted to get some functionality added asap so that people could use it so I coded it in my native language. Once I'm done with the C# version (which should be this weekend) and have a working prototype I'll look into redoing it in PHP, unless someone wants to collaborate with me on that.

If anyone wants to use my server it's free and I have a very beefy server to work with. If not and they have an ASP.Net server they can use, let me know.

Peace!
-Shawn

powerppc
10th November 2007, 09:22 AM
Hey this sounds really cool. I have another idea ...

I've seen program where you could perform functions by sending sms messages to your phone.

It would be cool if you could activate trackme via a text message - that way if your phone was ever lost or stolen, you could go knock down the guy's door!

Like this one?http://www.wimp-software.co.uk/

_LEM_
10th November 2007, 06:27 PM
[ignore this post]

_LEM_
10th November 2007, 06:47 PM
ok guys,

here is the new version. I'm sorry it took so long, but believe me... it was really tough sometimes. The worst part is to upload data to the server. Usually servers don't like these things for a external application, and I had to try a thousand of different techniques to get it to work.
I'm still haven't been able to fix that problem that I mentioned. If you select store GPS positions locally and generate kml files remotely, and some cases it will just hang there trying to upload the data. I don't know why. It only happened to me a few times and for that reason it's very difficult to trace it.
I'll keep working on that.

This new version has the following:
- Ability to store GPS positions locally and remotely.
- Ability to generate KML files locally and remotely.
- Export function has been rewritten to support new features.
- Added option for delete positions locally and remotely.
- You can export/delete positions for a given trip, for any trip, or for positions with no trip defined.
- Ability to delete trips
- If you use your own server, you can specify the extension of the files (PHP,ASP,...) and also the folder where the files are located.
- Simple and Advanced mode in Configuration.


For next version I prefer to wait in adding more features until this one is stable and I can fix that bug that happens sometimes. My next release will be the necessary PHP and mysql files and documentation for people who want to use their own server.

I hope you guys have fun with it!

ahh.... I added a link for Donations :o
If I get enough to invite my wife for a romantic dinner in the place of her choice I'll be completely satisfied!! just kidding... She almost divorced me for all those long nights that I kept working on this :D She cannot understand how much fun is to work on this project!!! Thanks a lot for your support guys.

Check my signature for downloading the program.

jcleek
11th November 2007, 02:14 AM
ERROR!!

When you specify a file extension (like php) it puts that in the web address!

http://www.domain.com:80php/routes/Slacker.kml

The php should not be there, and because it is the remote KML creation does not work!

cjmedina
11th November 2007, 02:38 AM
i cant get it to work on google earth i keep getting cant find http file . i followed the instruction from the read me file on the app but when i enter the url its says cant find http file. any ideas

_LEM_
11th November 2007, 05:12 AM
ok guys, I think I fixed the problem.
Try with this new version I just uploaded.

By the way, I think I also fixed the problem uploading data. At least I left it running for 4 hours and worked fine.

jcleek
11th November 2007, 02:07 PM
First time I ran it after installing this new version it immediately soft reset my device!

Still doesn't work. Now the export address shows:

http://www.domain.com:80/trackme.php/routes/Slacker.kml

Notice the folder "trackme" is now "trackme.php"

_LEM_
11th November 2007, 05:15 PM
The program is exporting the files correctly. The only thing is that when you click on 'Show generated filenames' is not showing the right name.

Just point Google Earth to http://www.domain.com:80/trackme/routes/Slacker.kml

and the file should be there.

No idea about the soft reset. I haven't really modified anything that could do that. Let's see what feedback we get from other users.

Regards

jcleek
11th November 2007, 05:32 PM
Two versions ago it was working perfectly. Last version and this one I get:

Error generating remote .kml file

Screen capture attached. Any idea why?

daesimps
11th November 2007, 05:37 PM
Just tried this on my Artemis.

Told it to use COM4 (same as I do with TomTom and Co-Pilot). When I click start it just says opening COM4 and then locks my handset up. Have to reset to get it back.

Do you have any ideas as I would really like to get this app working - it is exactly what I was looking for.


Thanks in advance.
Dae

odie3
11th November 2007, 05:42 PM
This looks pretty cool but I seem to be over looking the readme file. I assume I need a way to upload the file to my hosting site (does it use ftp)?

_LEM_
11th November 2007, 05:47 PM
Two versions ago it was working perfectly. Last version and this one I get:

Error generating remote .kml file

Screen capture attached. Any idea why?

Can I see the tab where you have the settings for your remote server?

_LEM_
11th November 2007, 05:49 PM
This looks pretty cool but I seem to be over looking the readme file. I assume I need a way to upload the file to my hosting site (does it use ftp)?

it uses HTTP post requests, so you don't need really need anything on your server (unless that you have disabled some settings)

_LEM_
11th November 2007, 05:51 PM
I just uploaded a new version that fixes that problem when showing the generated filenames.

odie3
11th November 2007, 05:57 PM
it uses HTTP post requests, so you don't need really need anything on your server (unless that you have disabled some settings)

Okay, I can hit my link on your server "http://luisespinosa.com/trackme/routes/myusername.kml" and I get some information. Now what do I do with it? Import it some how to google earth web site?

Man, I feel like a noob.

odie3
11th November 2007, 06:01 PM
Say, where is the Tab "Google Earth" that has the button that states "Click here for help to setup Google Earth". It shows it on your screen shots on your first page but on my install of your program... :(


Edit:
Okay, I gave up on Google web map site and moved on to the real Google Maps (Client Install). That works great and even figured out how to add a network link under my places (rather cool).

So, any step by step for Google Web Map site and the kml file? Thanks!

jcleek
11th November 2007, 06:02 PM
I just installed the latest version. Now it says uploaded correctly but there is no file on my server in the routes folder.

But after I restarted it again it now shows the file error again.

odie3
11th November 2007, 06:34 PM
Okay, this thing is freaking cool! I just sent you $20.00 via paypal from your donate button.

Question: Is there a way for your app to auto-create a trip each time you start it up? Perhaps Trip-MMDDYYYY as a name?

_LEM_
11th November 2007, 07:22 PM
I just installed the latest version. Now it says uploaded correctly but there is no file on my server in the routes folder.

But after I restarted it again it now shows the file error again.

oh man... I didn't know you were using your own server. The php files have changed for this version. You know, that's why I didn't want to release the php files until I had stable version.

Here are the newest php files. However, keep in mind that they may change for a next release.
http://luisespinosa.com/temp/trackme.zip

You don't need the file googleearth.php anymore.

_LEM_
11th November 2007, 07:24 PM
Okay, this thing is freaking cool! I just sent to $20.00 via paypal from your donate button.


*THANKS A LOT* man.... I really appreciate it.



Question: Is there a way for your app to auto-create a trip each time you start it up? Perhaps Trip-MMDDYYYY as a name?

No, but it's a great idea. I will add it for the next version.

By the way, I think you are using an old version. You can get the latest from my signature.

Regards

MPIIIMan
11th November 2007, 07:46 PM
staryon, you need to update those PHP files.
They do not work without modification on my server.
You are not declaring the variables being passed in via the URL.


$action = $_GET["action"];
$username = $_GET["username"];
$password = $_GET["password"];
$lat = $_GET["lat"];
$long = $_GET["long"];
$dateadded = $_GET["dateadded"];
$dateoccurred = $_GET["dateoccurred"];
$datefrom = $_GET["datefrom"];
$dateto = $_GET["dateto"];
$tripname = $_GET["tripname"];

odie3
11th November 2007, 07:53 PM
*THANKS A LOT* man.... I really appreciate it.




No, but it's a great idea. I will add it for the next version.

By the way, I think you are using an old version. You can get the latest from my signature.

Regards

Cool, thanks for taking my idea into account!

As for the version, I was on .16 but now I am on .17. BTW, how do I use the .kml file in Google Maps (the online version)?

odie3
11th November 2007, 08:06 PM
Question: Is there a way for your app to auto-create a trip each time you start it up? Perhaps Trip-MMDDYYYY as a name?

No, but it's a great idea. I will add it for the next version.


BTW, before you start planning how to add this, I'll like to add something to this suggestion of auto-adding a trip when you enable your TrackMe program.

That is, when you enable it *before* a new trip is added there should be a way to pick up on the last auto-added trip and continue the one before. For example, say I am going on a trip to my dads (which is a 4 hour trip). For this trip with the kids (3 of them) there a few stops we make on the way where I would disable the application. So while I would stop the tracking temporally I would not want a new trip created but to be able to pick backup from my stop(s). Not sure if there is a meta-data tag to support a stop (like how long between the stop and start) but that would be cool information.

_LEM_
11th November 2007, 08:18 PM
BTW, before you start planning how to add this, I'll like to add something to this suggestion of auto-adding a trip when you enable your TrackMe program.

That is, when you enable it *before* a new trip is added there should be a way to pick up on the last auto-added trip and continue the one before. For example, say I am going on a trip to my dads (which is a 4 hour trip). For this trip with the kids (3 of them) there a few stops we make on the way where I would disable the application. So while I would stop the tracking temporally I would not want a new trip created but to be able to pick backup from my stop(s). Not sure if there is a meta-data tag to support a stop (like how long between the stop and start) but that would be cool information.

I was thinking in doing the following. Let me know what you think.
Something simple... if in the configuration the selected trip is <None> and you have enabled the option 'Auto create trip names if selected trip is <None>', then when you click on Start and you upload your data, a new trip will be created, and if you go back to the configuration, you should see that the name of the new trip is now selected.
By doing that, if you click on stop and start again, it will use again that trip.

If you want a new trip for the next time that you click on start, just need to go back to Config and change it to <None>


Regarding your other question, yes, you can use them in Google Maps, but at this moment not directly (I have to change something in the structure of the file) Meanwhile, there was a user who wrote a script that makes the conversion automatically. The problem is I cannot find the post. I'll let you know if I can find it later.

_LEM_
11th November 2007, 08:21 PM
staryon, you need to update those PHP files.
They do not work without modification on my server.
You are not declaring the variables being passed in via the URL.


$action = $_GET["action"];
$username = $_GET["username"];
$password = $_GET["password"];
$lat = $_GET["lat"];
$long = $_GET["long"];
$dateadded = $_GET["dateadded"];
$dateoccurred = $_GET["dateoccurred"];
$datefrom = $_GET["datefrom"];
$dateto = $_GET["dateto"];
$tripname = $_GET["tripname"];



uhmm... that's strange. The other users didn't mention anything about that. Maybe is a setting that you need to change on your server?

MPIIIMan
11th November 2007, 08:33 PM
I'm a well versed PHP developer.
The most likely reason no one else has had problems is they are either using your server, or their server has "register_globals" set to on in the php.ini file.
That can be a security risk.

Read more about it here: http://phpsec.org/projects/guide/1.html

Any other php developer will agree with me that you should declare those variables.

I'm just trying to help you tighten up your code here.

odie3
11th November 2007, 08:38 PM
Something simple... if in the configuration the selected trip is <None> and you have enabled the option 'Auto create trip names if selected trip is <None>', then when you click on Start and you upload your data, a new trip will be created, and if you go back to the configuration, you should see that the name of the new trip is now selected.
By doing that, if you click on stop and start again, it will use again that trip.

If you want a new trip for the next time that you click on start, just need to go back to Config and change it to <None>


Perfect and it is simple!

as for MPIIIMan, I bet he is correct that the other users have "register_globals" enabled on their server or have a php.ini/.htaccess enabling it in their directory where the *.php code is at. I too hate using *register_globals*... (not that I am currently using your trackme php code but other code that I have used required it :( ).

_LEM_
11th November 2007, 08:42 PM
I'm a well versed PHP developer.
The most likely reason no one else has had problems is they are either using your server, or their server has "register_globals" set to on in the php.ini file.
That can be a security risk.

Read more about it here: http://phpsec.org/projects/guide/1.html

Any other php developer will agree with me that you should declare those variables.

I'm just trying to help you tighten up your code here.


I'm not a PHP expert at all, I was just wondering why it was working with other people.

Any suggestions are well appreciated, I will make the changes that you suggested.

Please let me know if you find other things that should be changed/improved.

Thanks

barnesdmd
11th November 2007, 10:44 PM
Fantastic tool, I'm going abroad soon and am hoping I can use the logs from this to geotag photos, will let you know how I get on.

jcleek
12th November 2007, 12:05 AM
oh man... I didn't know you were using your own server. The php files have changed for this version. You know, that's why I didn't want to release the php files until I had stable version.

Here are the newest php files. However, keep in mind that they may change for a next release.
http://luisespinosa.com/temp/trackme.zip

You don't need the file googleearth.php anymore.

That got it Staryon.

odie3
12th November 2007, 12:17 AM
I figured I would help out with the project so I made a ASP.Net page that would basically scrape staryon's kml file and then set the mime-type which seemed to help a bit with the google maps. There's still a few errors (something to do with the style) but it at least works in google maps now.

when referencing the kml file in maps.google.com

Put the following in the "Search Map" textbox:
http://www.thedoughtcom.com/trackmehelper/default.aspx?kmlfile=#####.kml

Where ##### is your kml filename setup in the trackme program.

You can also put in the following:
http://www.thedoughtcom.com/trackmehelper/default.aspx?site=#####

Where ##### is your full URL to the kml file.

I tested it a bit this morning and it works like a charm! I take no credit/responsability for this amazing program, just figured I would help until staryon can get google maps working!

Peace
-Shawn

Sweet, this works!

thirdowl
12th November 2007, 03:36 AM
This is an excellent program, but I'm having what might be simple to fix errors that I can't quite figure out.

I got it to work once, but ever since I see two things happening:

1. In Google Earth, searching for http://luisespinsosa.com:80/trackme/routes/middleda.kml or http://luisespinsosa.com/middleda returns "Your search returned no results."

2. In Google Maps, it reads "http://luisespinosa.com:80/... could not be displayed because it contains errors."

Any thoughts on how to fix this for a sleep deprived father of newborn twins?

Sorry if I am missing something obvious!

Thanks and keep up the great work!

_LEM_
12th November 2007, 05:36 AM
This is an excellent program, but I'm having what might be simple to fix errors that I can't quite figure out.

I got it to work once, but ever since I see two things happening:

1. In Google Earth, searching for http://luisespinsosa.com:80/trackme/routes/middleda.kml or http://luisespinsosa.com/middleda returns "Your search returned no results."

2. In Google Maps, it reads "http://luisespinosa.com:80/... could not be displayed because it contains errors."

Any thoughts on how to fix this for a sleep deprived father of newborn twins?

Sorry if I am missing something obvious!

Thanks and keep up the great work!


Hi thirdowl,

Check that your typing the right URL, I noticed that the server name that you specified was not correct. I checked Google Earth with http://www.luisespinosa.com/trackme/routes/middleda.kml and your trip was displayed correctly.

For Google Maps, check one of the previous posts. The KML files are not fully compatible yet (I will fix it soon), and DoughtCom created a script that fixes the conversion problem.

Regards

_LEM_
12th November 2007, 05:38 AM
hey mates...

I'm thinking in adding some kind of email notification system. What do you guys suggest? Send an email every certain time? when a given condition is met?

thirdowl
12th November 2007, 05:57 AM
Thanks for your quick response!

When I re-launched Google Earth, my test trip displayed, replacing my other, un-named one. I'm headed to France tomorrow, so I'll test this out pretty extensively.

I think my issue was re-searching each time, which again is likely a symptom of my cloudy brain these days.

Thanks for your help.

I think an email at the end of trip confirming its successful export would be great.

Another great feature, but would likely require significantly more negotiating would be to link to GPS Photos, or if you took a GPS Photo with TrackMe active, it would include send a place holder.

However you decide to finalize the feature set and options, the program already rocks!
Thanks

_LEM_
12th November 2007, 06:01 AM
Thanks for your quick response!

When I re-launched Google Earth, my test trip displayed, replacing my other, un-named one. I'm headed to France tomorrow, so I'll test this out pretty extensively.

I think my issue was re-searching each time, which again is likely a symptom of my cloudy brain these days.

Thanks for your help.

I think an email at the end of trip confirming its successful export would be great.

Another great feature, but would likely require significantly more negotiating would be to link to GPS Photos, or if you took a GPS Photo with TrackMe active, it would include send a place holder.

However you decide to finalize the feature set and options, the program already rocks!
Thanks

thanks for your suggestions. I like the idea of sending the email at the end of a trip (maybe when you click on Stop). We'll see...

Have a good trip.

Regards

_LEM_
12th November 2007, 09:33 AM
New version available.

I have cleaned the code a little bit and added a few features.

- Easier navigation through menus.
- Added scrollbar in the log window
- Log window can display messages in different colors.

Have fun!

jackieboy
12th November 2007, 10:23 AM
hey mates...

I'm thinking in adding some kind of email notification system. What do you guys suggest? Send an email every certain time? when a given condition is met?

thanks for thinking of me :P your a great guy!!!!

jackieboy
12th November 2007, 10:41 AM
That be awesome makes it great for tracking someone or for a friend, parent etc to follow you on route.

but check this feature out, the program turns on the gps once an hour, or once every 20 mins depending on the variables you enter, uploads the position and then sends an email to you with the a dirct link to google maps or earth with the position. a direct link. i can tell you right now for something so expensive (our phone) to tell us where it is everyday would be awesome, i'd have it set to send me an email every hour (important that it shut off after, the battery would die if I lieft it on 24/7 ....the gps function) and until its reset or if the option calls for it the link shows the trail as well.

Now i know what many may think getting 24 email everyday would be agrivating, not really, I use outlook so I would create a folder and a rule for this... just knowing my phone tells me where it is, just damn amazing. And anyone who has it will be tracked. Awesome, id even add another option to the program while the gps is in automode, if the phone is moving the gps continues to stay on until the postion is stops moving more then a few meters, then it follows the auto timer mode.

anyone think this is a good idea? does this soudn hard to do?


Another cool option to had to this software would be to copy our current GPS position and also to copy our current GPS position in a google maps webpage format, so that we would be able to send our position to other ppl via SMS ou EMAIL:

We would be able to have a text like this and copy it to EMAIL our SMS:

Current GPS position: xxxxxxx, xxxxxxxx
Google Maps: http://maps.google.com/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


PocketTracker from KAI software uses a function GPS2SMS to do something like that....
http://www.pocketkai.net/asp/index.html?seitex=http://www.pocketkai.net/asp/details.aspx?383

It would be great to had this option.

_LEM_
12th November 2007, 07:08 PM
New version available.

I have added an option that lets you create the trip names automatically if the selected trip name is <None>.


jackieboy, yes I think I can add something similar to that. We can have a parameter in the configuration that specifies how often you want to send the emails.

Regards

_LEM_
12th November 2007, 09:08 PM
Another version available....

I have added an option that lets you find information about your closest buddy.
I mean, based on your last upload position it will tell you how far is the closest user found in the remote database.

Here is a screenshot:
http://www.luisespinosa.com/trackme/demo7.jpg

I don't know if somebody will use this feature, but I thought it was fun to add it.
By the way, I don't show the username of the user for privacy reasons...

odie3
12th November 2007, 10:00 PM
Well, that is kind of cool - with it show it on Google Earth too when you look at the *.kml file?

DoughtCom
12th November 2007, 11:45 PM
I'm almost complete with my .Net version of the PHP code. I'll release the URL later. I'm about to have to start working A LOT but I'll continue to support it when I can. I'll be releasing the Source for whoever wants to add to it or whatever once it's at least to the point of functional :)

I have it to where you can embed an iframe in whatever site you want, I have a login so that only or users you create can view your map(s) (trips) and have it to where you can delete trips and trip data.

Before I release it I want to add functionality that'll enable it to e-mail people (need to figure out my relay SMTP server) and also add a feature stylize the routes per trip. So blue for Sunday and red for Monday for instance.

Later I'll enable it to where you can overlay (include) multiple trips and do other queries on the data. We have time and location with that data that are linked to specific trips... there's LOTS of cool reports we could run. I just need to come up with more ideas and have the time to develop it :)

odie3
12th November 2007, 11:49 PM
So, did you figure out the problem with the style error we get when bring up a trip in map.google.com?

BTW, thanks for your site too, been fun showing Family/Friends what my new phone can done (however I think I am forever marked as a geek).

_LEM_
13th November 2007, 12:48 AM
I'm almost complete with my .Net version of the PHP code. I'll release the URL later. I'm about to have to start working A LOT but I'll continue to support it when I can. I'll be releasing the Source for whoever wants to add to it or whatever once it's at least to the point of functional :)

I have it to where you can embed an iframe in whatever site you want, I have a login so that only or users you create can view your map(s) (trips) and have it to where you can delete trips and trip data.

Before I release it I want to add functionality that'll enable it to e-mail people (need to figure out my relay SMTP server) and also add a feature stylize the routes per trip. So blue for Sunday and red for Monday for instance.

Later I'll enable it to where you can overlay (include) multiple trips and do other queries on the data. We have time and location with that data that are linked to specific trips... there's LOTS of cool reports we could run. I just need to come up with more ideas and have the time to develop it :)

man... that looks awesome. I cannot wait to see that. Thanks a lot for your support.

_LEM_
13th November 2007, 12:49 AM
So, did you figure out the problem with the style error we get when bring up a trip in map.google.com?

BTW, thanks for your site too, been fun showing Family/Friends what my new phone can done (however I think I am forever marked as a geek).

Yes, I found the problem. I'll work on that today. I'll try to have it ready as soon as possible.

while(!(linux)){wm}
13th November 2007, 01:44 AM
Staryon,

Thanks a lot for all your work. It looks better every day!

I was wondering if you've looked into a way of having TrackMe wake up the device, turn on GPS, take a fix, and then turn off the GPS again. I'm interested in leaving it running all the time in the background, and having it take a fix every 30 minutes or so. If it could wake up the device to take a fix, or at least let the device fall asleep, then i could leave it on all the time without worrying too much about my battery.

Also, what is trackme programmed to do if it cannot get a fix? is there a timeout, or does it just keep trying until the battery dies? Could you add a setting to change the timeout period?

Thanks again

spamenigma
13th November 2007, 02:21 AM
Just tried this on my Artemis.

Told it to use COM4 (same as I do with TomTom and Co-Pilot). When I click start it just says opening COM4 and then locks my handset up. Have to reset to get it back.

Do you have any ideas as I would really like to get this app working - it is exactly what I was looking for.


Thanks in advance.
Dae

I have the o2 orbit (Artemis) running WM6, and get the same issue as Artemis, tap 'start' and it locks the mobile up whilst 'opening port...COM4:'

any advice pls?

thanks
P

_LEM_
13th November 2007, 02:21 AM
ok, I fixed the problem with Google Maps.

KML files should now be compatible with Google Earth and Google Maps!!

You don't need to update the client. The problem was in the PHP files, so I made the changes on the server.

If you already have the kml file, you will have to re-export it again to make it work with Google Maps.

jcleek
13th November 2007, 02:23 AM
ok, I fixed the problem with Google Maps.

KML files should now be compatible with Google Earth and Google Maps!!

You don't need to update the client. The problem was in the PHP files, so I made the changes on the server.


Can you re-upload the php files so we can all have them?

_LEM_
13th November 2007, 02:29 AM
I have the o2 orbit (Artemis) running WM6, and get the same issue as Artemis, tap 'start' and it locks the mobile up whilst 'opening port...COM4:'

any advice pls?

thanks
P

not sure why. I haven't been able to test it there. I know some people are using the program with bluetooth GPS and Smartphones and it's working fine.

Maybe it should something easy to fix but I don't know how to test it... could you try this program that Sherpa wrote?
http://forum.xda-developers.com/showthread.php?t=337076

Basically it will try to connect to your GPS.
Please let me know what results you get with that.

Thanks

_LEM_
13th November 2007, 02:42 AM
Staryon,

Thanks a lot for all your work. It looks better every day!

I was wondering if you've looked into a way of having TrackMe wake up the device, turn on GPS, take a fix, and then turn off the GPS again. I'm interested in leaving it running all the time in the background, and having it take a fix every 30 minutes or so. If it could wake up the device to take a fix, or at least let the device fall asleep, then i could leave it on all the time without worrying too much about my battery.

Also, what is trackme programmed to do if it cannot get a fix? is there a timeout, or does it just keep trying until the battery dies? Could you add a setting to change the timeout period?

Thanks again

I'm sorry I forgot to include it in the to-do list, but I haven't forgotten this request.

Yes, I plan to add that. It's just is a little bit more complicated, so I'm trying to do first the features that look easier.

I will also add an option in the configuration for a maximum number of retries when a timeout occurs.

Regards

_LEM_
13th November 2007, 02:49 AM
Can you re-upload the php files so we can all have them?

Here you are:

(only file export.php has changed)

jcleek
13th November 2007, 12:18 PM
Works perfectly. I especially appreciate the KML fix that makes it work directly with Google Maps.

ghadjimitsis
13th November 2007, 12:53 PM
thanks for the info and software
keep up

tf442
13th November 2007, 01:05 PM
I found this thread a couple weeks ago and have been following it every day. The program looks great. I have my money ready to donate as soon as you get Trackme to work on my smartphone. (T-Mobile Dash). Thanks for all your hard work.
Tim

daesimps
13th November 2007, 01:42 PM
not sure why. I haven't been able to test it there. I know some people are using the program with bluetooth GPS and Smartphones and it's working fine.

Maybe it should something easy to fix but I don't know how to test it... could you try this program that Sherpa wrote?
http://forum.xda-developers.com/showthread.php?t=337076

Basically it will try to connect to your GPS.
Please let me know what results you get with that.

Thanks

Unfortunately (or fortunately, depending on your point of view), I now have a Kaiser and it works perfectly.

I am looking to download the server side stuff so that I can host it on my own Linux box. That's next on my list of stuff to do.

irresisti
13th November 2007, 02:27 PM
This program looks really neat. I was looking for a program like this and found many but never tryed any of them cause they did not seem to be the right software for my kaiser.

This one looks good and I will give it a try now. :)

jcleek
13th November 2007, 02:32 PM
Ok Staryon, a couple of things:

1) You put a copyright notice on every GPS plotted point. So now those of us who are using this in any form other than on your server in the manner in which you developed are in violation of that copyright, including doughcom. Any customizations of the output are in conflict with your copyright. Certainly it is within your rights to copyright your work but is it necessary to copyright the output?

2) I spent most of the morning figuring out how to do something that really was pretty simple. Using the Google maps API I got a little mashup going. Check this out:

My custom tracking web page (http://track.getcis.com/)

All you need to do is get a Google Maps API key (http://www.google.com/apis/maps/signup.html) and then you can use this code to set up your own page:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Google Maps JavaScript API Example</title>
<script src="http://maps.google.com/maps?file=api&v=2.x&key=Insert your key here" type="text/javascript">
</script>
<script type="text/javascript">
//<![CDATA[
var map;
var geoXml = new GGeoXml("http://path.to.your.kml.file");


function load() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));


map.setCenter(new GLatLng(0,0),0);
map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());
map.enableScrollWheelZoom();
map.addOverlay(geoXml);
map.setCenter(geoXml.getDefaultCenter());
geoXml.gotoDefaultViewport(map);
}
}



//]]>
</script>
</head>
<body onload="load()" onunload="GUnload()">
<div align=center>
<div id="map" style="width: 600px; height: 400px"></div>
<br>
Tracking information provided by <a href="http://forum.xda-developers.com/showthread.php?t=340667" target="_blank">TrackMe</a>
</div>
</body>
</html>

You need to change two things: the path to the kml file and the API key entries. Other than that upload it to your site and customize away.

Comments?

freecall
13th November 2007, 03:07 PM
this program looks great following the disucssion here, but it run and find sats on my origional HTC Tytn. Looking to the database seems to work as well.

But I struggle (as google earth starter) with how to

- upload and display the realtime tracking file
- upload and display the stored file if not online

I looked on the server .. but I do not find a simple instruction. Please help and thanks for any advice !

Freecall

irresisti
13th November 2007, 03:15 PM
- upload and display the realtime tracking file
- upload and display the stored file if not online

I looked on the server .. but I do not find a simple instruction. Please help and thanks for any advice !

Freecall

If you press stop it will give you the URL where the file has been uploaded will show. You can go in Google Earth and create a new networked link under places. There you can enter the URL

Sorry for my bad english

mbritten
13th November 2007, 03:40 PM
Love the program. just one issue with the newest version.... when i try to store positions locally, it creates the kml file and stores the fist position correctly, but any additional positions are not stored and in the log window it says something like database not open.

Also, is there anyway to make it disable all hardware keys except the power button when the screen is turned off? I'd like to keep my phone in my pocket while tracking.

Thanks again for all the hard work. I've tried almost every tracking program and this one is definatly the most promising.

one more thing i guess. is there anyway to make a simple web page that one could log in to that would display the tracks in google maps, and that would update automatically when new positions are uploaded, similar to the one Reperion uses.

-Matt

jcleek
13th November 2007, 03:52 PM
one more thing i guess. is there anyway to make a simple web page that one could log in to that would display the tracks in google maps, and that would update automatically when new positions are uploaded, similar to the one Reperion uses.

-Matt

Matt,

check my previous post... the answer is right there.

_LEM_
13th November 2007, 04:17 PM
Ok Staryon, a couple of things:

1) You put a copyright notice on every GPS plotted point. So now those of us who are using this in any form other than on your server in the manner in which you developed are in violation of that copyright, including doughcom. Any customizations of the output are in conflict with your copyright. Certainly it is within your rights to copyright your work but is it necessary to copyright the output?

2) I spent most of the morning figuring out how to do something that really was pretty simple. Using the Google maps API I got a little mashup going. Check this out:

My custom tracking web page (http://track.getcis.com/)

All you need to do is get a Google Maps API key (http://www.google.com/apis/maps/signup.html) and then you can use this code to set up your own page:



You need to change two things: the path to the kml file and the API key entries. Other than that upload it to your site and customize away.

Comments?

that looks great man. Really cool. Thanks for your work.

and yes, I will remove the copyright notice. Not a problem.

_LEM_
13th November 2007, 04:20 PM
this program looks great following the disucssion here, but it run and find sats on my origional HTC Tytn. Looking to the database seems to work as well.

But I struggle (as google earth starter) with how to

- upload and display the realtime tracking file
- upload and display the stored file if not online

I looked on the server .. but I do not find a simple instruction. Please help and thanks for any advice !

Freecall

freecall,

As soon as I have some time, I will work on the documentation. Meanwhile you can ask any questions here and I'll try to help you.
I hope that the information that irresisti gave you was enough. If not, let me know and I will give you more information.

Regards

_LEM_
13th November 2007, 04:22 PM
Love the program. just one issue with the newest version.... when i try to store positions locally, it creates the kml file and stores the fist position correctly, but any additional positions are not stored and in the log window it says something like database not open.

Also, is there anyway to make it disable all hardware keys except the power button when the screen is turned off? I'd like to keep my phone in my pocket while tracking.

Thanks again for all the hard work. I've tried almost every tracking program and this one is definatly the most promising.

one more thing i guess. is there anyway to make a simple web page that one could log in to that would display the tracks in google maps, and that would update automatically when new positions are uploaded, similar to the one Reperion uses.

-Matt

Yes... I noticed about that problem this morning, when I was using it when coming to work. Easy fix. I will fix as soon as I get home, because I'm at work right now.

I will add to the to-do list your request about the hardware keys.

jcleek, already created what you need about the web page. Check one of the previous posts.

Regards

mbritten
13th November 2007, 04:29 PM
yeah, i checked that out and it looks good, but I was wondering if anyone has made a page that i could goto and enter my username and password and log into. I don't really want to host my own page, but I canif that is the only option.

thanks for the quick responses everyone!

-matt

freecall
13th November 2007, 04:37 PM
I followed the advice , and it works now .. but the position is 2 streets off :-)

Eitel
13th November 2007, 05:11 PM
What is the latest version? I keep downloading 2.0.20 and I don't see how to enter server info in there.

jcleek
13th November 2007, 05:46 PM
As soon as I have some time, I will work on the documentation.

I will take the task to set up an install package that will:

1) Start with a form to fill out the database name, table, folder, etc needed to configure the server side php stuff

2) Create the database and tables

3) Modify the php code to include server names, database information, etc

4) Build an html bare document with the google maps mashup in the same folder

That will make it easier on staryon to keep developing. Sound cool? I can most likely have something up later today or tomorrow.

_LEM_
13th November 2007, 05:57 PM
I will take the task to set up an install package that will:

1) Start with a form to fill out the database name, table, folder, etc needed to configure the server side php stuff

2) Create the database and tables

3) Modify the php code to include server names, database information, etc

4) Build an html bare document with the google maps mashup in the same folder

That will make it easier on staryon to keep developing. Sound cool? I can most likely have something up later today or tomorrow.


You are the man!! thanks a lot. Please let me know if you need any clarification about the data that I send to the server.

_LEM_
13th November 2007, 05:58 PM
What is the latest version? I keep downloading 2.0.20 and I don't see how to enter server info in there.

Go to Config->General and uncheck 'Hide advanced settings'
After that, go to Config->Remote

daesimps
13th November 2007, 09:01 PM
I have setup my own server, but when I try to do anything from the client it always returns "you need to specify a username and password for the user". The thing is - I have specified a username and password in the config. I have also put in the name, port and directory settings for my server in the relevant tab.

Is there any logs or anything that I can check? (server is a debian/Apache server)


Many thanks
Dae

_LEM_
13th November 2007, 10:35 PM
I have setup my own server, but when I try to do anything from the client it always returns "you need to specify a username and password for the user". The thing is - I have specified a username and password in the config. I have also put in the name, port and directory settings for my server in the relevant tab.

Is there any logs or anything that I can check? (server is a debian/Apache server)


Many thanks
Damion

Does it work fine using my server?

daesimps
13th November 2007, 10:59 PM
Does it work fine using my server?

Yes - it works fine on your server.

I used your database.sql file to create the db. I then put the 3 PHP files from the zip file just above into the web server folder. I then edited them with the DB name, IP, username and password.

I then just get the error message I mentioned earlier when I try anything (e.g. get trip list, upload offline file, start tracking etc).

Is there a way to test it from a browser instead of the phone (just so I can get it working without hammering my phone by constantly using the GPS)?

Thanks
Dae

_LEM_
13th November 2007, 11:09 PM
Yes - it works fine on your server.

I used your database.sql file to create the db. I then put the 3 PHP files from the zip file just above into the web server folder. I then edited them with the DB name, IP, username and password.

I then just get the error message I mentioned earlier when I try anything (e.g. get trip list, upload offline file, start tracking etc).

Is there a way to test it from a browser instead of the phone (just so I can get it working without hammering my phone by constantly using the GPS)?

Thanks
Dae

You can test it from the browser doing something like this:

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=


Maybe you are having the same problem that another user had. Check this post:
http://forum.xda-developers.com/showpost.php?p=1656685&postcount=179

That's something that I will have to add soon. Meanwhile you can try to add it manually, just in case that's the problem.

Regards

MPIIIMan
14th November 2007, 01:00 AM
Seems to be an issue with the dates.
They are being entered in my database as "0000-00-00 00:00:00"

_LEM_
14th November 2007, 01:24 AM
hey guys...

New version available.

I have fixed the problem where storing points in the local database and also a problem when generating local KML files.

_LEM_
14th November 2007, 01:40 AM
Seems to be an issue with the dates.
They are being entered in my database as "0000-00-00 00:00:00"

Did you test it with this URL?

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=

MPIIIMan
14th November 2007, 02:01 AM
yes I tested it with that URL, but of course put in my own domain.

_LEM_
14th November 2007, 02:15 AM
yes I tested it with that URL, but of course put in my own domain.

And did you check that you are retrieving the parameters 'dateadded' and 'dateoccurred' correctly inside the requests.php file?

Maybe your mysql server has a setting that doesn't like datetimes with the format YYYY-MM-DD HH:MM:SS
(I don't know too much about mysql either so I am not sure if there is a setting for that)

Did you check your mysql database and tried to enter dates manually with that format?

jcleek
14th November 2007, 02:16 AM
Ok guys, here is my hack install script and instructions. Please note I am not a great php guy and I don't play one on television so....

The code is crude but it works, at least with my host. Give it a shot and let me know what you think, but ONLY after you READ and FOLLOW the instructions I put in there.

Staryon, the only files I added to your zip are the install.php and index.php files. The rest you can replace with updated files you put together. Just don't change these text items:

DBIP
DBUSER
DBPASS
DBNAME

The install script does a search and replace on those fields in your three php files.

_LEM_
14th November 2007, 02:24 AM
Ok guys, here is my hack install script and instructions. Please note I am not a great php guy and I don't play one on television so....

The code is crude but it works, at least with my host. Give it a shot and let me know what you think, but ONLY after you READ and FOLLOW the instructions I put in there.

Staryon, the only files I added to your zip are the install.php and index.php files. The rest you can replace with updated files you put together. Just don't change these text items:

DBIP
DBUSER
DBPASS
DBNAME

The install script does a search and replace on those fields in your three php files.

AWESOME. Thanks a lot man.
I just added it to the first post. I'll try to test it later today or tomorrow.

MPIIIMan
14th November 2007, 02:29 AM
The problem is with the spaces being encoded into %20's

See my comment below regarding using "urldecode" function to fix this problem.

MPIIIMan
14th November 2007, 02:39 AM
jcleek nice script.

But again just like the original PHP files you need to declare POST and GET variables!!!

Your scripts do not work if "register_globals" is turned off. That is the security standard in PHP.


Change this line

if (isset($action) && $action == "install")

To:

if (isset($_POST["action"]) && $_POST["action"] == "install")


After:

mkdir("routes", 0777);

Add:

$dbname = $_POST["dbname"];
$dbuser = $_POST["dbuser"];
$dbpassword = $_POST["dbpassword"];
$dbserver = $_POST["dbserver"];
$folder = $_POST["folder"];
$apikey = $_POST["apikey"];
$username = $_POST["username"];

odie3
14th November 2007, 02:49 AM
Ok guys, here is my hack install script and instructions. Please note I am not a great php guy and I don't play one on television so....

The code is crude but it works, at least with my host. Give it a shot and let me know what you think, but ONLY after you READ and FOLLOW the instructions I put in there.

Staryon, the only files I added to your zip are the install.php and index.php files. The rest you can replace with updated files you put together. Just don't change these text items:

DBIP
DBUSER
DBPASS
DBNAME

The install script does a search and replace on those fields in your three php files.

My site does not allow the file to be writeable:
[2007-11-13 20:27:42]: error: file is writable by others: (/home/xxxxx/public_html/xxxx/xxxx/index.php)
[2007-11-13 20:26:49]: error: file is writable by others: (/home/xxxxx/public_html/xxxx/xxxx/install.php)

Also, I see in the install you are also making "routes" so that means I have to have my directory set to "777" but that is not allowed either at my hosting site (to run *php code in a 777 folder). 777 is very dangerous....

odie3
14th November 2007, 03:12 AM
Well, after putting in the declares in and running the DB Scripts manually I have got closer. However, I am getting this error logged:

[13-Nov-2007 21:10:15] PHP Parse error: syntax error, unexpected ')' in /home/xxxx/public_html/xxxx/xxxx/requests.php on line 157

_LEM_
14th November 2007, 03:32 AM
The problem is with the spaces being encoded into %20's

Here's what the query looked like:
Insert into positions (FK_Users_ID,latitude,longitude,dateoccurred,datea dded) values('223','20.2482086166667','28.2732949','2007-10-30%209:57:10','2007-10-30%209:57:10')

I added some code to the php files:

$dateadded = str_replace("%20", " ", $dateadded);
$dateoccurred = str_replace("%20", " ", $dateoccurred);
$datefrom = str_replace("%20", " ", $datefrom);
$dateto = str_replace("%20", " ", $dateto);


Now the query looks like:
Insert into positions (FK_Users_ID,latitude,longitude,dateoccurred,datea dded) values('223','20.2482086166667','28.2732949','2007-10-30 9:57:10','2007-10-30 9:57:10')


uhmm... there has to be a better solution than that. Otherwise every time that I want to pass a unicode character you will have to convert it to the right character.

MPIIIMan
14th November 2007, 03:34 AM
No just for the dates.

odie3
14th November 2007, 03:35 AM
Okay, I can not get jcleek stuff working... I give up. :(

_LEM_
14th November 2007, 03:41 AM
No just for the dates.

I don't agree. I don't think you should write your code based on the data that you are receiving. It should be flexible enough to support any parameters.

For example, in the future I plan to add comments for trips and other stuff. It's possible that somebody writes the following comment in Spanish:


http://luisespinosa.com/trackme/test.php?comments=<aquí están los comentarios>


which will be translated automatically to:


http://luisespinosa.com/trackme/test.php?comments=%3Caqu%ED%20est%E1n%20los%20come ntarios%3E

MPIIIMan
14th November 2007, 03:58 AM
Use the function urldecode on the variables


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