Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

New Developer
Posts: 17
Registered: ‎02-11-2010
My Device: 8700
My Carrier: verizon

question about GPS cell tower.How Accuracy it is ?

i am developing gps location with Cell tower.

i use opencellid (http://www.opencellid.org)


but it seems the accuracy is very low. for example . i lauch my test app in my office. the opencellid server feed back a xml file . the longitude and latitude is 2.6 kilometres far away. is it a normal accuracy?


here is my code:

String url = http://www.opencellid.org/cell/get?key=xxxxx&mcc=xxx&mnc=xxx&cellid=xxx&lac=xx;

                httpConn = (HttpConnection) Connector.open(url, Connector.READ_WRITE,

inputstream = httpConn.openDataInputStream();

....read data use inputstream.


is it right?

seems very easy.


the data server feed back a xml file like this:

<rsp stat="ok">
<cell range="50000" lac="xxxxxxxxx" lat="xxxxxxx.xxxxxxxxxxx" nbSamples="20" lon="xxxxxxxxxx.xxxxxxxxxxxx" cellId="" mcc="xxxxxxxx" mnc="xxxxxxx"/>



does the range=50000 means that the precision is 50 kilometers?if so , it is too big a pricision number?


in fact. all i need is a precise gps location for both gps and non-gps device. the gps satellite is very precise. but can only be used outdoors.


any one have some advise for me?




Posts: 17,024
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: question about GPS cell tower.How Accuracy it is ?

well, the website says:

There is some accuracy issue, as the cell can cover from several hundreds of meters to several kilometers

feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter