// Retrieves the cell idString cellID = Integer.toString(GPRSInfo.getCellInfo().getCellId());// Retrieves the Location Area Code.String lac = Integer.toString(GPRSInfo.getCellInfo().getLAC());// Retrieves the mobile country code.String mcc = Integer.toHexString(RadioInfo.getMCC(RadioInfo .getCurrentNetworkIndex()));// Retrieves the Location network Code.String mnc = Integer.toHexString(RadioInfo.getMNC(RadioInfo .getCurrentNetworkIndex()));Response is in XML format.Parse the XML string using XML parser.
Monday, April 16, 2012
Get location without GPS in Blackberry
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment