Getting latitude and longitude without GPS (Windows Mobile)

I am wondering if there is a way to get the latitude and longitude of my position without using GPS.

I am developing a Windows Form application for Windows Mobile 5.0 and above, C # and the .NET Compact Framework. I use GPS and Bing Maps to show the user's position on the map, but sometimes it would be impossible to determine the user's position using GPS. I saw that Google maps (for example) can define the user's area.

How can I do this in my application?

Thanks!

+4
source share
6 answers

Cell ID can be used to get a very rough geographical area; there is open source code to get this information, and various companies sell this information, and if you dig hard enough, you can find unpublished APIs that Google Maps use.

http://www.codeproject.com/KB/mobile/DeepCast.aspx , as indicated in another post, demonstrates how to get the cell ID and send it to the unpublished Google API for permission.

+5
source

Looks like you can subscribe to GPS location change events:

private Gps _gps = new Gps(); private GpsPosition _currentPosition; public void Start() { _gps.LocationChanged += new Microsoft.Location.LocationChangedEventHandler(_gps_LocationChanged); if (!_gps.Opened) { _gps.Open(); } } private void _gps_LocationChanged(object sender, Microsoft.Location.LocationChangedEventArgs args) { _currentPosition = args.Position; } 

See this article for more information, as well as details on how to get your location using cells:

Finding your location on a Windows Mobile device

+5
source

If you have a GSM phone, you can perform several hacks using the Radio Interface Layer . One of these on devex.com .

+2
source

Yes, I’m even curious when GPS isn’t working (for example, when I’m in the office or in a shopping center), but Google Maps gives an almost accurate position. I suspect that it uses the information provided by aGPS (Assisted GPS) servers for GPS. This technology also uses GPS systems on most mobile phones.

0
source

One of the mechanisms may be triangulation using the masts of mobile phones. If you can determine how far you are from two or more famous places, you can calculate your position.

However (and this is big, however), I do not know how you (as a developer) can:

a) access the location of all the mobile phone masts in your area

b) Interview the masts to see which ones they should look for in your database.

I believe that it works aGPS (as TheVillageIdiot mentioned), but it is on the phone that will have access to this information.

0
source

Google maps uses a service called "geolocation" to determine your position. this is done by analyzing the nearest WLAN access points. if this does not work or if there are no WLAN access points, your ip is used.

following reading: http://apb.directionsmag.com/archives/6094-How-Google-Maps-uses-the-W3C-Geolocation-API-and-Google-Location-Services.html

0
source

All Articles