Non GPS location WM6.1 - Windows Mobile Development and Hacking General

Hi I'm developing an application for WM that will use location. I don't think I will have too much trouble with implementing GPS but does anyone know of any information to get the devices rough location without GPS using GSM towers or however google maps 'my location' works when GPS is turned off.
Also a quick question I have an idea for what I think is a simple (not related) application and I think such a useful idea that I'm surprised it hasn't already been made. My question is if I ask about how I may go about creating the application is there any chance of someone thinking its a good idea making it themselves and somehow copy writing it so I can't make it myself?
many thanks.

Just bumping in case anyone can help.

As far as I know GSM triangulation only works when your service provider allows it, which is a rarely the case. Google uses the internet via GPRS or WLAN to estimate a user's position. So you'd have to find out how to get the node information to display it on a map.
edit: try to use IP tracing

I think Google finds your location from your CellID. Using the devices that have both GPS and Google Maps installed, it builds up a CellID database which is used to locate phones when no GPS is available.
You can do something similar by a) getting the device CellID and b) using the OpenCellID service to "translate" the CellID to a location.
Look at this:
http://dalelane.co.uk/blog/?p=241
And this:
http://www.opencellid.org/api
Also check out these threads by joubertvasc, he's using CellID and the OpenCellID APIs in his programs, and if I remember correctly they're open source, so those should help you a lot.
http://forum.xda-developers.com/showthread.php?t=394203&highlight=cellid
http://forum.xda-developers.com/showthread.php?t=456626&highlight=cellid
ALSO! Next time please ask your question here:
http://forum.xda-developers.com/forumdisplay.php?f=456

Thanks guys you have given me loads of great information to be getting on with. Sorry about posting in the wrong place didn't notice the Q&A section. Thanks again.

I tried to reverse engineer the protocol used by Live for it's location server and I posted my results here. I haven't indulged any further since things have gotten busy around here but it's a good start.
Google Maps lookup service has already been reverse engineered by a guy on code project here.
I've also looked at Fire Eagle's implementation based on wireless hotspots and it uses skyhook.

Luis Espinosa's TrackMe also queries multiple cell id databases, you can even choose which ones you want to draw from (Google, OpenID, etc). His code isn't open as far as I know but he might be willing to answer some questions.
http://forum.xda-developers.com/showthread.php?t=340667

you guys are great thanks so much for the links I'll be sure to upload my program here first if its any good that is.

Is there any way to use Google's location services? The code project link is down :/

DeadVirus said:
Is there any way to use Google's location services? The code project link is down :/
Click to expand...
Click to collapse
No one? :/

Post #19
http://forum.xda-developers.com/show...=725568&page=2

badasschris said:
Thanks guys you have given me loads of great information to be getting on with. Sorry about posting in the wrong place didn't notice the Q&A section. Thanks again.
Click to expand...
Click to collapse
I tried to reverse engineer the protocol used by Live for it's location server and I posted my results here. I haven't indulged any further since things have gotten busy around here but it's a good start.
Google Maps lookup service has already been reverse engineered by a guy on code project here.
I've also looked at Fire Eagle's implementation based on wireless hotspots and it uses skyhook.

Related

TyTN cellid?

Hi. I am writing a freeware social networking application based on location services ( http://www.fightersoft.ro/mts/index.htm ). Although many devices are supported, it seems that the HTC TyTN isn't. To that end I acquired one and now I am on the quest on getting the cellid in my application.
The approach that should of worked was the COM port. However, no matter what COM port I open, I get a create file error. I am guessing that maybe the internal modem uses a weird port name such as COM550 or other letters instead of COM. I know that another way of getting the cellid is by using ril.dll (or even getting the handle to the gsm modem com port). However, in WM5 this is not documented at all on msdn.com - BUT for WM6 there is documentation.
Firstly, I want to ask anyone if they have extra information about this issue and secondly if by upgrading to WM6, the using the COM port approach works from the box (usually COM9)?
hi, I tryed many programs, which have actually support for cellid information, but no one work on herm, no matter if it was WM5 or WM6. on all phones, I had before it worked correctly... phone alarm also have this functionality, but shown only something like 00-00...
This is so frustrating. Every mobile device with GSM capabilities has a GSM modem insinde. That modem SHOULD be accesible from the OS by the means of COM ports. My guess is that this port is hidden or under a different name than the rest of the HTC devices where it resides on COM9.
CommMgrPro shows Cell Id and Location Area Code correctly on TyNT
I started this thread in the hopes that people will contribute with ideas towards getting this task done. Can you reveal any technical information on how you get the cellid information?
stargatesg1 said:
I started this thread in the hopes that people will contribute with ideas towards getting this task done. Can you reveal any technical information on how you get the cellid information?
Click to expand...
Click to collapse
Sure. Ril.dll gives you access to this information and works properly in WM5-WM6. And technically is easier than manager serial drivers......
Documentation isnt included in WM5 so it isnt "official" but realky It is included. The only problem for "not official" issue is you wont get support from microsoft....
Ask me what you want...
stargatesg1, if you have searched the forum, you'd already have the answer. For instance, this thread:
http://forum.xda-developers.com/showthread.php?t=280476&highlight=cellid
has a reference to RIL API. And I do remember I told you this some months ago in your another thread...
Here it is:
http://forum.xda-developers.com/showpost.php?p=1040464&postcount=27
It was at October 26 last year!
Basically I only need the cellid and the lac. I found that msdn.com offers documentation for ril.dll for WM6. This also works for WM5?
From what I learned from msdn.com is that I should do a ril.initialize first and then I should get the cell info using a fuction that I can't remember right now. Is this approach correct?
Lurker0, I know about this approach (I have mentioned it in my first post) however, I need more information because c++ native is not my primary envoirement for developing. That's why I kept searching for a way of getting the lac-cid from com ports so that I could do it directly from managed code.
stargatesg1 said:
Basically I only need the cellid and the lac. I found that msdn.com offers documentation for ril.dll for WM6. This also works for WM5?
From what I learned from msdn.com is that I should do a ril.initialize first and then I should get the cell info using a fuction that I can't remember right now. Is this approach correct?
Click to expand...
Click to collapse
Exactly. I downloaded Platform builder to have includes and libraries.
1) Initialize Ril
2.a) Request Position explicitally using a RIL_gettowerinfo
2.b) When you initializa Ril you can pass a callback to be notified upon location changes....
Did you read the source code for RIL interface that I pointed you to?
danielherrero, I see. Regarding the callback function is not neccessary in my app - the user or the app set on auto mode searches for changes in location. Thank you very much for your info.
Lurker0, yes I did, but like I said, I am not a very experienced c++ programmer and I need some documentation to get me started. I am also very greatful for your help and I am sure that I will use information from rilclass.cpp.
Thank you both, I will post back with the results as soon as I will have any.
Good luck
Hi StargateSG,
Did you succeeded in getting MTS working on Tytn?
Rgds
I had to leave the country on a business trip. I'll get back in a few days and I will start working on the problem.
danielherrero said:
CommMgrPro shows Cell Id and Location Area Code correctly on TyNT
Click to expand...
Click to collapse
Does nothing on the Blue Angel.

Freeware GPS utility

VIto FindMe lets you send your location via an encrypted SMS to a friend also using Vito FindMe and then allow them to input the co-ordinates into Google Maps to see where you (and they) are at that time.
http://www.freewarepocketpc.net/ppc-download-vito-findme.html
Downside is the fact that it appears to be currently working with "Pocket PC Phone Edition with built-in GPS receiver". May have to wait for the possible GPS unlock later this year to test it with our Moguls.
Just as info...
Hi, i've already post it on the gps unlock thread, but for someone who wish interesting free navigation soft... Get a look at
http://www.gpsunderground.com/forums/index.php
If you like vito, try Vito smart navagtor, that combine all the Vito tools...
And may be Tracky will interest you.
Also Navizon and Reperion may be tryed.
In fact when i've got my P4000 the tech supp, was tolding me that the gps chip of my device was not locked-up, and that i should found and 3rd app that fit my device....(that techn was less knowing than me lol)
So i tried many app.
Gpspassion may also be an interesting forum for info about gps...
Wish will help you, to dicover the gps interesting worls.
P.S. in community that you're looking for (net tracking) you'll find tools like registring for you and your friends point of interest like: automatic speed radars cameras, speed limits( the soft will advise you of over-speed), many other geocatching funny tools.
Other forum: http://www.pocketgpsworld.com/modules.php?name=Downloads
http://j2memap.landspurg.net/
http://pda.jasnapaka.com/richessegps/releases/1.0.4.php
http://geocool.reperion.com/Web/
http://www.navizon.com/phpbb2/index.php (Navizon is a peer-to-peer virtual gps using cell tower, with a reward program for the users that help creat the localisation net. Advantage get localisation in city or subway (like subway maps) were some other gps failled, but in regional area it"s really not the better one's 'cause it need cell towers)
yea but taht VITO FindMe doesnt work with 6800 tho
Does not work with 6800 yet !!
True... Mentioned it in my post. There might be a work around to get it to work though and considering the talent of the forum, I am sure someone will find a way.
FindMe generates position errors of up to 150 metres when I try it. i think it may be miscalulating the lat/long in decimal from the lat/long returned by the GPS. GPS is OK with all other GPS apps I have run on my Kaiser (v1615).
Apart from that it's a great app

GPS Route Registration?

Hello,
I wonder if there is a program, where I can get my route administration done with my Touch Diamond (or other gps-enabled ppc's).
A program where i can say 'START ROUTE' and it logs the current GPS-position, it counts the driven KM's, and when i say 'STOP ROUTE' it logs it to a file with date, km's and better with destination names (connect to google maps?)
I know some sort of things exist, but not 'simple' ..
I need it for the Taxes, i run my own company and have to write down every single km I drive. Pfff...
any ideas?
I think TRACKME might be what you are looking for(best of all: it's free!:
http://forum.xda-developers.com/showthread.php?t=340667
I think it is what I need indeed.
Found it, sorry for this tread !!
Thanx Casper
Riel said:
I think it is what I need indeed.
Found it, sorry for this tread !!
Thanx Casper
Click to expand...
Click to collapse
feel free to share?
http://forum.xda-developers.com/showthread.php?t=340667
It's all available there.
Since I can log GPS coordinates on my own server, in fact I can get a plot from there very easy. It looks very promising.
there's one which doesn't require .NET 3.5.. called MyMotion 1.1.. i'm using it for my bicycle trips.. you can log your route while you drive and then use a mapmaker to match a google earth map with coordinates to it so you can see where you drove.
it's really really good.

Trace-Me (live location/story/picture tracker)

Trace-Me enables you to trace where you’ve been and augment that information with pictures and stories that you’ve taken on the road. It’s especially nice for holidays or any other trip. It can be used by yourself to afterwards see where you’ve been and what you’ve done, but you can also give your friends and family the opportunity to watch where you are live in real time.
Trace-Me is in beta and is free to use.
for more information goto: www.traceme.org
Interesting app.......
cool idea.
I guess it uses only GPS and not any triangulation stuff.
So, my qtek s200 is off the table.
For now it only uses GPS that's right. Triangulation would be a nice feature to add. I'll scribble it down on my 'wanted features' list.
Neat, I love the idea.
Triagulation
Yeah.. i´m out too.. please please use triagulation also...
google must have some api for it... as google map mobile uses triangulation...
I'm developing for (Compact) .NET. So I would need some C# code to do the triangulation or at least get the cell ids and hook them up to some database. Feel free to leave any tips behind.
of course you can always use an external GPS if your phone doesn't have an internal GPS
I've managed to get some code working that uses cell ids to fetch position instead of GPS. So all people without GPS enabled phones should now be able to use Trace-Me aswell.
Since this is pretty fresh stuff I could really use some volunteers for testing this stuff. Please send an email to [email protected] if you want to test this stuff. Or goto the Trace-Me forum (goto English->General and reply to the 'volunteer to test non-GPS location algorithm' topic)
Ok it seems I've had some major problem with people trying to access the website and actually see their data. Something with cross domain and flash and webservices and all that jazz.
Since the webservice is running from my own domain I would very kindly like to ask a bunch of you to visit this link and please tell me that you're seeing (should take about 1 minute MAX!) a drives list at the left side of the screen (16e heenreis, 17e lagos, etc, etc).
Just leave a reply in here thanks!
I'm seeing your drives list.
k, awesome, it seems to work for everyone now

Paranoid user (QuickGPS, eTrust Antivirus vs..)

Hi everyone,
I will be a little paranoid over here so don't take it hard on me =)
I've been using a i-mate k-jam for a long time and switched to touch hd on january. Interestingly the biggest similarity and annoyance for me was the softwares pre-installed to download some sort of data over internet and bugging every week to download new signatures/data and bugging even more if you fail to download.
eTrust found out to be useless and I can't really pinpoint why most handheld GPS devices doesn't really require to update this kind of information (Please correct if I'm wrong).
We might assume the transaction is a simple wget/http download which wouldn't carry any other information to the other party that someone from that IP downloaded something. But if there is a handshaking or at least some kind of a http post is inplace, it could be also sending a unique device idea which would let the guys in Taiwan track our devices our a map.
As I said I'm just being paranoid and making almost a conspiracy theory here but still the possibility exists.
So how can we be sure they are not sending any information out?
We can set up a proxy and mirror incoming traffic from a source ip (phones ip) and dump it with wireshark. Then we will need to define the proxy on our phone and click download.
Is there a wireshark/ethereal kind of packet capture software which can run on these devices? It could ease the job.
Reverse engineering the code? Not experienced in that but It should be quite small when the you think the job it supposed to do.
Any comments, thoughts, help, information - greatly appreciated.
BR, Kaya
You can disable Quick GPS if you want because it isn't necessary for the GPS.
It just speeds up the process of finding satellites.
why don't you just use a nokia 3210? that way you should be pretty safe lolol
philocritus said:
why don't you just use a nokia 3210? that way you should be pretty safe lolol
Click to expand...
Click to collapse
Only if you leave BT off JK
I've sort of resigned myself to the fact that using a smartphone exposes someone to a lot of security gaps. The best advice is to keep your bluetooth off / in hidden mode, as this is one of the easiest ways to get at your handheld's data. Moving up the paranoia scale, you can use that NoData program to disable your data connection except for when you really need at - that will prevent most third-party programs from dialing home. And if you're really worried about being tracked, I'd recommend just shutting off your phone when you have something private to do.

Categories

Resources