yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] xdaradar:
Staryon,

When i use gps as source and don't upload cellid's to the trackme db, would that totaly deactivate the cellid part?

Since this version of TrackMe it happens several times during every trip that the program stops.

Picking up cellid's means interacting with the other rom in the PDA (beside the Windows OS ROM , there's also a radio-rom for the telephone part of the PDA). In other words, getting closer to the hardware of the device.

in my opinion this makes the behaviour of TrackMe less open and more depending on the hardware specifics of the device.

Maybe there's some error_handling logic that needs to be looked at. What if in a phonecall while on the road and cellids change. Or what if pushmail or TrackMe itself is synchronising or uploading with an active hsdpa connection and cellids change. Can you pickup the id, or do you get an "locked" message or timeout or so?
[Windows Mobile Apps and Games] xdaradar:
install this cab on your pda and the actual message is displayed
[Windows Mobile Apps and Games] _LEM_:
Basically I just call a function in a Windows library called ril.dll

that returns the cell id. I don't do that if you uncheck that option.

TrackMe doesn't really care if the cellid changes. I just make a call to this library and I use whatever I get.
[Windows Mobile Apps and Games] Aniken010:
I'm sorry, I'm not following this... could you explain in step by step?
[Windows Mobile Apps and Games] xdaradar:
Staryon,

Like the Beatles say "with a little help of a friend", i now have an alternative gm_cellid.php5 running on my server which redirects the request to your server.

please let me now if you mind that, while i'm running on my own server, i'm using your's for this specific function. I could then use a local friend's server to host this script for me. It's just that using your's seems the logical place.

And if so, do you mind if i distribute this solution for others with their own solution and maybe php4, just like the mysql4 change i made.
[Windows Mobile Apps and Games] xdaradar:
if you just want to remove it from the menu do the following:

- start your file browser on the pda

- go to the windows directory (might take a while)

- there you go to the Start Menu directory

- there you go to the Programs directory

- then delete the TrackMe file you see there

For starting TrackMe you would need

- start your filebrowser

- goto Program Files directory

- then goto trackMe directory

- then tap or double-tap on the TrackMe program
[Windows Mobile Apps and Games] _LEM_:
Sounds good to me. I hope somebody can come up with a solution for doing the same thing than the script gm_cellid.php5 does with php 4.x though
[Windows Mobile Apps and Games] xdaradar:
see attatched testscript, maybe you can try it on your server.

it needs curl, pretty standard but not available on my server so i still needed the escape

if this works for you, please use it so the call for gm_cellid in the client can go back to the standard .php extension instead of .php5
[Windows Mobile Apps and Games] _LEM_:
ok... but I won't be able to do too much testing about this right now.

I fixed the problem with the FormatException message but since everybody wanted that feature for updates without deleting existing data I started working on that last night. I won't be able to release a version until I finish that and I need to do a lot of testing first. Once I release the new version I'll take a look at that.
[Windows Mobile Apps and Games] xdaradar:
homemade server update package

TrackMe is a great feature and i did some customizing for my own (paranoia?) needs. But offcourse all regards go to Staryon for his great software.

xdaradar changelog: 2008_08_12

support for default apache htaccess security and mysql 4.x

- config.php moved outsite webroot for security reasons

- location of klmfiles en pictures can be defined in config.php and stored on secure locations

- when deleting trip, the generated kmlfile of that trip is deleted as well

- support for mysql 4.x added, configure in config.php

- redirect in gm_cellid.php5 to point to a host that supports php5 and runs this script for you if you can't yourself

>> webviewer not update and not tested

>> i'm only using google-earth as viewer

Installation

- place php scripts over the original installed ones from Staryon/LEM

- place config.php on the location of your choice

- update variables in config.php to reflect the proper filelocations and mysql version

Browsing through your website

i'm using a simple php script to brows through the kml files and pictures and let google-earth do the presentation for me

installation

- unzip thumbnail.zip

- copy the index.php and .icons directory to each directory you want to browse in your website

usage

- go to your website for example www.mywebsite.com/TrackMe/index.php

download

http://xdaradar.mine.nu/TrackMe/TrackMe_server_update.rar

screenshots

http://xdaradar.mine.nu/TrackMe/screenshot1.jpg

http://xdaradar.mine.nu/TrackMe/screenshot2.jpg

http://xdaradar.mine.nu/TrackMe/screenshot3.jpg
[Windows Mobile Apps and Games] xdaradar:
is there anybody out there who can do a network trace on google maps on the pda. maybe a tool on the pda or when connected via usb to a desktop on the desktop

i'm curious how googlemaps on the pda gets its info on the gps location of cellid's.

when using googlemaps on the pda it knows by any cellid my location.

when using the googledb currently in use for TrackMe there's no match. Using the example cellid's from Staryon i do get a match so the mechanism is working but de database we're using seems to be not the big one.
[Windows Mobile Apps and Games] Dtrieb:
Right !

I`m in germany and google knows my Cell ID an shows it in GoogleMaps,

but it didn´t work in TrackMe :(

Need help!

Thx Dtrieb
[Windows Mobile Apps and Games] timoline:
http://windforwings.blogspot.com/2007/12/is-there-any-public-mobile-cell-id.html

Don't know about the the current status

Thursday, December 13, 2007

The Google database is not accessible for public use outside the Google Maps application
[Windows Mobile Apps and Games] khaytsus:
I have looked around, I have yet to see an official cell database API for google, but I have a PHP script which uses it that I found here in another related thread. Would that be of help? You could see the inputs/outputs of it. You pass it the MNC, MMC, LAC, CID in hex and it spits out a 40 (or so) byte blob and you parse the coordinates out of it.

It could be used in a pretty straight-forward fashion I'd think. Although the nature of using it means the accuracy is somewhere between towers so could be miles or so, but that's all a given I guess.
[Windows Mobile Apps and Games] licht77:
Yes, I am using my own server...

After installing NETCFv35.Messages.EN i get this log:
[Windows Mobile Apps and Games] _LEM_:
Regarding your second error message I don't understand why you get Result:3 if the Requests.php doesn't return that error message for that type of request.

I assume that you updated your PHP scripts and database, right?
[Windows Mobile Apps and Games] xdaradar:
i'm afraid there's not much to help. It depends on the database that is used to get the coordinates of your cellid. The mechanism Staryon build works fine. In my country i sometimes get a hit, sometimes no find.
[Windows Mobile Apps and Games] xdaradar:
The CellDB.org initiative is nice. Sharing the cellinfo. It's very much just like Staryon did in TrackMe, but that's limited to the TrackMe community.

It might be an idea of filling and using CellDB.org instead of a local TrackMe database, but then Staryon would need to change the TrackMe client and pass the cell parameters in another format.
[Windows Mobile Apps and Games] xdaradar:
Thanks for searching, it sounds very much like the php script that TrackMe uses, but still i'm interested in it. Maybe it uses a cellid database that already has a nice coverage
[Windows Mobile Apps and Games] khaytsus:
Could very well be. I haven't tried Cell tracking in TrackMe yet, but I was surprised that this database has the cells in my fairly small town:

Direct link: http://www.witracks.com.br/gmaps.txt

From this thread: http://xdaforums.com/showthread.php?t=393189
[Windows Mobile Apps and Games] _LEM_:
Yes, that's the one that I use.
[Windows Mobile Apps and Games] xdaradar:
sniffing around gives me the following findings:

- telco's, but also google (probably pays telco's for the info) are very protective on celiid to gps information

- there's several initiatives to build a public database just as is happening with TrackMe now

Maybe we can build some php logic that searches multiple sources. Each time someone finds a new source, we can add it to the searchengine.

- use them as long as they are around

- insert found locations into the TrackMe DB

Commonly used are the mnc, mcc, lac, cid values to query the db.

Staryon,

you now pass the $myl value for the googledb search. Could you make the other four values available as well when calling the gm_cellid.php5 script.

this would give me the oppertunity to try and build some additional searches
[Windows Mobile Apps and Games] khaytsus:
Cool. I tried to help :)
[Windows Mobile Apps and Games] _LEM_:
Good idea. I will add those variables

EDIT:

ooopsss... what variables do you mean? I'm passing now these four:

ril.dwMobileCountryCode.ToString(); // MCC

ril.dwMobileNetworkCode.ToString(); // MNC

ril.dwLocationAreaCode.ToString(); // LAC

ril.dwCellID.ToString(); // CID
[Windows Mobile Apps and Games] _LEM_:
New version available!

- This is the last version that will delete your offline positions and geofence data when updating. From now on the data will be kept.

- Fixed problem 'FormatException' when using Cell ID for non English PDAs

- Some minor fixes for Cell ID tracking

- Configuration window has been modified slightly
[Windows Mobile Apps and Games] turtle2472:
This is great staryon! You've really been active with this program and I love the updates you've made available.

I haven't done any updates though since I was supposed to make the changes to my SQL tables. Is there something that will make these changes for me with these updates or do I still need to figure it out?
[Windows Mobile Apps and Games] while(!(linux)){wm}:
Staryon,

You rock! Thanks a lot for this.
[Windows Mobile Apps and Games] mswist:
Been trying all day

I have a tytn II and I am currently living in Houston, TX. I am using a mysql 5.0 database provided by 1and1.com. I have been solving problems all day and this one I dont know how to handle. I keep getting an error saying unable to connect to remote server. I downloaded and installed everything in their current version as of today. Please help me
[Windows Mobile Apps and Games] zorka:
Just downloaded it, but I still get the same error..... FormatException

BTW, did you change the version number ? I'm still getting 4.3.5.85...
[Windows Mobile Apps and Games] SPY:
Private on own server

I have installed JCleeks scripts on my server and latest version of Trackme on my TytnII, everything works great but now I have a question. I apologise if it obvious but I'm a complete newbie at this and couldn't find the answers in the thread.

I would like to protect people viewing my trackme by a password, I've tried putting a password on the directory but then Trackme fails to upload.

Any help greatly appreciated and thanks to all those that have contributed to making this a great product
[Windows Mobile Apps and Games] Expecho:
Would it be possible to use both GPS and CelID? If no GPS signal is found (too less satelites ro something) the CellID is used, and if no signal is present the GPS is used.. If both are present the GPS is leading because it is more accurate. And one more thing, how much space do these CelIID databases take? Would be nice to put them on the PDA to avoid GPRS costs and speed up things a little..
[Windows Mobile Apps and Games] zorka:
Downloading using the link on the first post, still gives me 4.3.5.85, updating on the Hermes itselfs (about->update), gives me the correct version now. And error is gone ! Thanx
[Windows Mobile Apps and Games] jcleek:
Its been a while but in the web page config change the public var to no or something like that
[Windows Mobile Apps and Games] Dtrieb:
Nice would be if we can use GeoFence with Cell ID !

So you can setup it very easy.
[Windows Mobile Apps and Games] _LEM_:
You can use it with Cell ID. Whatever your could do with the GPS can be done with Cell ID.
[Windows Mobile Apps and Games] _LEM_:
The link in the first post is the same one that is used when updating from the client :confused:
[Windows Mobile Apps and Games] Dtrieb:
No if I try to add an Alert with "Assign Current Position" an error message comes with: No valid position available from GPS.

Explain me how I make it right. Thx.
[Windows Mobile Apps and Games] _LEM_:
Did you click on the arrow to start tracking data before clicking on 'Assign Current Position'?

I just tried it and it works fine.
[Windows Mobile Apps and Games] mswist:
I keep getting this error "One or more TrackMe tables in your database are empty. You must generate data by running the TrackMe application on your Windows Mobile device before the map display will work properly."

Everytime I try to export GPSpositions I get "Error creating remote kml file: Unable to to connect to the remote server"

I cannot generate and upload the kml file to my server. My port number is correct as well as all my database settings in my config file. I have been using xda for a long time now by searching others problems solving mine. Please help I would like this application on my website.

I just talked with my webspace provider 1and1 and they told me that this is not supported because it uses mysql 3.5 and they use 4.0 and 5.0. Is this what my problem is?
[Windows Mobile Apps and Games] phunzoid:
does anyone have the Cell ID feature working with a HTC Mogul (PPC-6800) on the Sprint network?

if i make Cell ID the source it locks up the program...and if i turn on "Upload Cell ID for each GPS Position", i can't lock onto any satellites...no problem with GPS if feature turned off

i can't use Cell ID with Google Maps either (GPS ok), so i guess maybe it's the Mogul's problem :rolleyes:
[Windows Mobile Apps and Games] _LEM_:
I guess the problem with the satellites is because when TrackMe has locked some satellites and it's about the upload the data, it will try to get your cell id, and since it's not working for you, it will lock up your device.

Not sure why it happens though.

I will try to write a small test app for you so you can test it. Remind me in a couple of days if I haven't done it so :o
[Windows Mobile Apps and Games] phunzoid:
ok, thanks...no rush, just curious why it's not working on my phone :cool:
[Windows Mobile Apps and Games] xdaradar:
TrackMe userid/password is used inside the application and not for access to your webserver. Look here http://xdaforums.com/showpost.php?p=2517539&postcount=2904

for an example on using your server security.

the basic idea is that it has a public and privat part. in the public part it just has the php scripts needed for the trackme client, no use for anybody that finds them. In the privat part are the database, the pics and the kml files.
[Windows Mobile Apps and Games] xdaradar:
Instability when using CellID

TrackMe client kept randomly disapearing. Not minimizing, but completely stopped. No errormessages and i haven't found systemlogfiles on windows mobile yet.

Trying to get an idea on how and when, i tried several scenario's. This is what happens:

- running with GPS without uploading cellid to trackme db

------ stable as a rock

- running with GPS and uploading cellid or running with cellid as source: random stop

------ but only in combination with phonecalls (incoming/outgoing)

- finaly it happens only with 3G/HSDPA active

------ when in old fashion gprs mode, no errors

So, related to CellID usage (the call to ril.dll) and 3G/HSDPA

This reminded me of the earlier versions of google map on windows mobile. They:

- could find mylocation by cellid

- but only in gprs mode and not in 3G/HSDPA mode

- it would not stop, but give a not found messages

In the current googlemap version it can also pickup my cellid when in 3G/HDSPA mode

This leads to:

at the low end there's different behaviour depending on (cooked) ROM versions, not much we can do here i am afraid

at the application end it looks as if the response to ril.dll calls can be handled, even in error. but since we're just able to look at the outside of googlemaps, i would not know how.

Next week i'm getting my new HTC S730, i'll test this with the out-of-the-box device and see what happens.
[Windows Mobile Apps and Games] xdaradar:
That's not the problem. 3,5 is de client version, at the hostside it's 4 and 5.

Do you use userid/password access on your server? If so, you need a work around, since the TrackMe client needs "public" access.
[Windows Mobile Apps and Games] _LEM_:
Ok... thanks for the info. Maybe with the test application that I will write we'll find out something. I will also have to read about incompatibilities with the ril.dll library.
[Windows Mobile Apps and Games] xdaradar:
Are we talking about the same call, maybe i'm looking at the wrong place. What i see coming in from the client is "GET /TrackMe/gm_cellid.php5?myl=204:8:4499:49462"
[Windows Mobile Apps and Games] _LEM_:
oh I know what you mean. I only pass 1 variable but the four values are there.

If that's a problem I will modify it to give you 4 variables.
[Windows Mobile Apps and Games] xdaradar:
When i look at the first part of the gm_cellid.php5 script, i can pick up the values from $myl. I'll re-use that for the other sources, frequently updates of the client is not popular ;-)
[Windows Mobile Apps and Games] xdaradar:
Just an idea on lowering both datatraffic and workload at the client side.

Looking at the behaviour from the outside the logic seems to be that on almost any upload a second commands goes to the host for generating KML. Except when there's some local points stored which need to catch up or a manual upload is requested by the user.

Maybe you could add an extra variable in the upload call that acts as a "switch". something like kml=0 of kml=1. And then at the serverside the request script could fire the export script depending on the switch.

This would reduce the normal tracking datatransfer with 50%.

Besides that, at least on my device, the PDA shows the wait-cursor for a few seconds while processing the export call.

The same goes for the CellID-GPS searches. Call for a location from the client to the server. Let the server first try it's own trackme-db and with no find go to the (growing) public cellid-db's. At the end return to the client with a location or no-find.
[Windows Mobile Apps and Games] mswist:
There is a username and password I use to access the server it is my ftp login. Is this what you mean by this? ARe you reffering to a MS exchange account? I do not understand what you mean by public folder. That sounds like a security reason why it wouldnt be possible to upload to a folder without a username and password. Am I mistaken?
[Windows Mobile Apps and Games] MagicGoldfishman:
I recently used trackme while on a family trip. I didn't have a data connection so I stored them locally to upload later. Now, however, the program has been updated and I cannot upload my offline data. The program suggests that I need to update to the newer version, but when I do it says I have no positions. I restored the previous version of TrackMe (I backed up the whole TrackMe program folder), and I have my stored positions again, but I can't seem to do anything with them. Is this data recoverable?
[Windows Mobile Apps and Games] xdaradar:
Since you're so responsive in replyíng, updating and making things available to others, i keep getting idea's about this great feature!

So here's another one in the category "not usefull, but just nice to have".

thans to your updates in this area i'm now active geofencing, so i set up several points i pass on my daily travels around the country. Leading to sms-flashed with my whereabouts.

you now have the option of adding the geolocation as a link to the message.

suppose you would add the option to append the speed to the message.

This would give the opportunity to flash something like:

"moving home at the speed of: xxxx" or "leaving work at the speed of: xxxxx" or more simple "driving the motorway at the speed of: xxxx"

The last one would give an automated idea to the people you send the message to if you're in a trafficjam or not.

Just adding the speed rounded to whole km's would keep it language independent.

There's a whole lot more one could do with this, probably leading to a lot of user requests in this area. If you would build in the option to compose the message at the serverside i could play a little with this.

Or even more fancy, let's interact client and server. Example:

at the client side you respond to a returncode from a request.php call like "Return=7|$number|$msg" with firing off the sms-flash function to this phonenumber with the given message.

at the server side i could build a script that on an incoming request checks if the user is within a proximity of a buddy. And if so, compose the message back to the client like: "hey buddy, i'm in your space, lets grab a beer".

it's just an example, bu you get the picture i guess.
[Windows Mobile Apps and Games] xdaradar:
smart to backup this data first. You have something to work with. Are you running on your own server or use the one from LEM.
[Windows Mobile Apps and Games] MagicGoldfishman:
I'm using the one from LEM.
[Windows Mobile Apps and Games] xdaradar:
Just for the fun of it: let me see if i can build a "resque service" ;-)

What version of Track Me are you on with the the still not uploaded data?

If i still have that version, i could set up a webserver. You then connect to my server and hopefully upload your data. From that point we have two options:

browse the results on my server. Make some screenshots for your photoalbum. end of resque

or

i export your trip and you could ask LEM if he's willing to import the data in his database. But since he's supporting over 4000 users this very well might not be fair to ask in the first place. The man needs to get some sleep every now and than as well.
[Windows Mobile Apps and Games] MagicGoldfishman:
I'm using version 4.0.4.79. Is there anyway to convert the positions to a .kml file?
[Windows Mobile Apps and Games] xdaradar:
I suppose the website you have at 1and1 is ment for you and your friends to look at. If someone wants to browse your website with internet explorer, does he/she needs to enter a userid and password? Or can anybody who has the url of your site look around at your website?
[Windows Mobile Apps and Games] xdaradar:
i had to ask for the date of your trackme version. Can't see the version from the outside in my archive.

offcourse, that's the solution. If we could get your positions in my server if i set it up with the corresponding version of your trackme, than you can generate the kml file via your pda with the "exoprt data" function. And then pickup the kml file from my website.
[Windows Mobile Apps and Games] mswist:
It is a website www.myname.com. Any one can view it, Its more or less a blog. I did setup a .htaccess in a personal folder with a tree view. Other than that I am still a bit confused.
[Windows Mobile Apps and Games] xdaradar:
than that's your problem. TrackMe can't handle .htaccess authentication

your website should be as "public" as www.google.nl without any questions for a userid or password
[Windows Mobile Apps and Games] MagicGoldfishman:
Can't seem to find the date anywhere in the program, but I think it was downloaded on 7/6/2008. Don't know it that helps or not, though.
[Windows Mobile Apps and Games] xdaradar:
let's give it a shot:

in the remote tab of the config of the trackme program change the server definition to:

IP: xdaradar.mine.nu

Port: 81

Root Folder: /resque

then first choose: upload offline data

next export data

the webbrowser http://xdaradar.mine.nu:81/resque/

the kml file http://xdaradar.mine.nu:81/resque/routes/