03-14-2013 06:20 AM
I am stuck at this point that how to get CellID and LAC in CDMA devices supporting OS 5 and greater, infact i have to get Latitude and Longitude without using GPS, So i have implemented the solution for GPRS devices but for CDMA devices i am unable to map CellID and LAC.
I did read so many posts on this forum and others saying that CDMAInfo provided BID = CellID and NID = LAC, but it never worked at all and also tried different combinations for LAC such as using SID as LAC, but it also didn't work.
So hopefully my question will be understood, kindly help me to move ahead and Solve this problem.
03-14-2013 06:38 AM
Check this link in order to grab the Cell ID, LAC, MNC & MCC information from the client.
However you will need another online system to resolve these values as this alone does not contain long/lat co-ordinates.
Look up OpenCellID.org for an open source DB for checking cell tower DBs, by generating a simplee http request you can parse the response easily and quickly.
03-14-2013 06:53 AM
Thanks for your answer.
My only concern now is to get CellID and LAC in CDMA devices furher i have a Solution to get Latitude and Longitude, for GPRS devices, i am using GPRSInfo API to get CellID and LAC but not able to get CellID and LAC through CDMAInfo API or any other API.
03-14-2013 08:08 AM
03-15-2013 02:42 AM
Thanks Daryl Peters, I have reviewed your link and found that CellID is maped to CDMAInfo.getcellinfo.getBID() and LAC is maped to CDMAInfo.getcellinfo.getNID() that what i already tried but here in your link different Google API is used "http://www.google.com/loc/json" while I am using this API "http://www.google.com/glm/mmap", So may be changing the API can solve my problem.
I will let you inform after implementing this patch.