Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
odie3
Old
#181  
odie3's Avatar
Senior Member
Thanks Meter 0
Posts: 570
Join Date: Sep 2005
Location: Texas
Quote:
Originally Posted by odie3 View Post
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?
Quote:
Originally Posted by staryon View Post
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.
Odie3

AT&T Tilt -
ROM: [Apr 09] Dutty's Official WM6.1 5.2.19209
ROM date: 04/09/08
Radio Version: 1.58.16.27 Niki
HTC Kaiser Hard-SPL v1
SIM Unlocked (Code for free from AT&T)
8GB Scandisk MicroSDHC
 
_LEM_
Old
#182  
_LEM_'s Avatar
Senior Member - OP
Thanks Meter 70
Posts: 2,253
Join Date: Mar 2006

 
DONATE TO ME
Quote:
Originally Posted by odie3 View Post
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.
Try my apps and games!

TrackMe GPS/CellID tracking tool that records your positions and display them in realtime (or recorded trips) on Google Earth and GM. Available for Android,WP7 and WM
Distant Galaxies Classic space shooter game. Available for WP7 and WM,Xbox,PC
CatchMe Know how far is another phone and what direction you need to follow to reach it with no internet connection. Available on WM

Please if you like my software. A good motivation for development and updates! Thanks!
 
_LEM_
Old
#183  
_LEM_'s Avatar
Senior Member - OP
Thanks Meter 70
Posts: 2,253
Join Date: Mar 2006

 
DONATE TO ME
Quote:
Originally Posted by MPIIIMan View Post
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.

Code:
	$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?
Try my apps and games!

TrackMe GPS/CellID tracking tool that records your positions and display them in realtime (or recorded trips) on Google Earth and GM. Available for Android,WP7 and WM
Distant Galaxies Classic space shooter game. Available for WP7 and WM,Xbox,PC
CatchMe Know how far is another phone and what direction you need to follow to reach it with no internet connection. Available on WM

Please if you like my software. A good motivation for development and updates! Thanks!
 
MPIIIMan
Old
#184  
MPIIIMan's Avatar
Senior Member
Thanks Meter 0
Posts: 110
Join Date: Jun 2006
Location: Detroit
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.
MPIIIMan
Guv'nor and Founder - MPIII.com
An Electronic Music Community Inside a Big Orange Box
 
odie3
Old
#185  
odie3's Avatar
Senior Member
Thanks Meter 0
Posts: 570
Join Date: Sep 2005
Location: Texas
Quote:
Originally Posted by staryon View Post
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 ).
Odie3

AT&T Tilt -
ROM: [Apr 09] Dutty's Official WM6.1 5.2.19209
ROM date: 04/09/08
Radio Version: 1.58.16.27 Niki
HTC Kaiser Hard-SPL v1
SIM Unlocked (Code for free from AT&T)
8GB Scandisk MicroSDHC
 
_LEM_
Old
#186  
_LEM_'s Avatar
Senior Member - OP
Thanks Meter 70
Posts: 2,253
Join Date: Mar 2006

 
DONATE TO ME
Quote:
Originally Posted by MPIIIMan View Post
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
Try my apps and games!

TrackMe GPS/CellID tracking tool that records your positions and display them in realtime (or recorded trips) on Google Earth and GM. Available for Android,WP7 and WM
Distant Galaxies Classic space shooter game. Available for WP7 and WM,Xbox,PC
CatchMe Know how far is another phone and what direction you need to follow to reach it with no internet connection. Available on WM

Please if you like my software. A good motivation for development and updates! Thanks!
 
barnesdmd
Old
#187  
Member
Thanks Meter 0
Posts: 32
Join Date: Dec 2005
Location: London
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
Old
#188  
Senior Member
Thanks Meter 0
Posts: 279
Join Date: Mar 2006
Quote:
Originally Posted by staryon View Post
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.
Slacker
Editor / Administrator
Mobile Gadget News

My Gadgets
HTC Touch Pro (4GB SanDisk MicroSD) w/Jabra BT500
R: 1.02.25.19
G: 52.33.25.17U
D: 1.90.456.4 WWE
 
odie3
Old
#189  
odie3's Avatar
Senior Member
Thanks Meter 0
Posts: 570
Join Date: Sep 2005
Location: Texas
Quote:
Originally Posted by DoughtCom View Post
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/trackmeh...file=#####.kml

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

You can also put in the following:
http://www.thedoughtcom.com/trackmeh...spx?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!
Odie3

AT&T Tilt -
ROM: [Apr 09] Dutty's Official WM6.1 5.2.19209
ROM date: 04/09/08
Radio Version: 1.58.16.27 Niki
HTC Kaiser Hard-SPL v1
SIM Unlocked (Code for free from AT&T)
8GB Scandisk MicroSDHC
 
thirdowl
Old
#190  
Junior Member
Thanks Meter 0
Posts: 23
Join Date: May 2007
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!

 
Post Reply+
Tags
cell id, gps, tracking
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...