Any ideas about how to do cell triangulation for Blackberry and J2ME phones? I know how to get the cell id but I couldn't do triangulation.
相关问题
- Location not updating on server when app enters st
- How to make background of BrowserField transparent
- Eclipse Blackberry Preprocessor Not Working?
- Mapbox 'setMyLocationEnabled' doesn't
- Cannot register in sample BlackBerry push applicat
相关文章
- To get the module names in blackberry
- How to close a global dialog and display another i
- Implementing Triangulation in android [closed]
- Google maps Android API getting wifi location
- How to install a draft app on a blackberry sandbox
- FB SDK not working on OS 7
- Is it possible to retrive an existing iPhone image
- Parent & Child Node with different images & Clicka
If you can do an HTTP Post to an arbitray website, you can use Google's geolocation api.
Simply POST data in the following JSON format to https://www.google.com/loc/json.
See the above link on how to add more information to your json from wifi etc. to greatly increase the accuracy of the result. And pay special attention to the mobile country code, getting it is not obvious.
This will return you Google's estimate of the latitude/longitude on your location, along with accuracy and optionally a geocoded address. You can test it quickly e.g. with the Chrome extension called REST Console.
However, it seems that the Blackberry API only provides info on the currently connected cell, not other visible but unregistered cells. In this situation cannot do triangulation, as you (unsuprisingly) need three points to triangulate! However, a less accurate radial estimate of location is still possible.
You can still use the Google API for this, by providing only one tower, or you can use the Ericsson API if you choose. You might want to test with both and compare the accuracy. The Ericcson API is a similar JSON api to Google's, but only expects a single cell as input. A tutorial is available, but it boils down to a JSON request like this: