Refer to:
- Get Network info using TelephonyManager
- Get cell location on a GSM phone, getCellLocation()
Last post introduce "Convert cellLocation to real location (Latitude and Longitude)" using api at "http://www.google.com/glm/mmap". But it's a non-public, non-official api, as I know.
It's an open source project, OpenCellID, aiming to create a complete database of CellID worldwide, with their locations. It provides free access to tools, data to not only create this database, but also retreive location informations.
Here is a example how to get location with the following cell id:
- mcc = 454
- mnc = 04
- cellid = 43191
- lac = 7500
http://www.opencellid.org/cell/get?mcc=454&mnc=04&cellid=43191&lac=7500
Alternatively, you can send with "fmt=txt" to request result in simple text format.
http://www.opencellid.org/cell/get?mcc=454&mnc=04&cellid=43191&lac=7500&fmt=txt
In next post, I will have a example describe how to Get location of Cell ID, from opencellid.org using HttpGet().
No comments:
Post a Comment