03-31-2011, 05:58 AM
|
#1 (permalink)
|
| New Member
Join Date: Mar 2011 Model: 8900 PIN: N/A Carrier: O2
Posts: 2
Post Thanks: 0 Thanked 0 Times in 0 Posts
| Getting Cell Id Please Login to Remove! Hi
Appologies if this is posted in the wrong place- but I'm a newbie!
I am writing an application that requires the following information:
Cellid, LAc, BSIC and RSSI
which I retreive in the folowing way:
import net.rim.device.api.system.GPRSInfo;
Integer.toString(GPRSInfo.getCellInfo().getCellId( )
Integer.toString(GPRSInfo.getCellInfo().getLAC())
Integer.toString(GPRSInfo.getCellInfo().getBSIC())
Integer.toString(GPRSInfo.getCellInfo().getRSSI())
However, when I run it on the BlackBerry 9800 Simulator, running in Eclipse Helios, I get the following error:
net.rim.device.system.ControlledAccessException
I've set the IT Policy to Allow Phone and Application Control to allow all (and set Phone and Location (GPS) to allow.
Many thanks in advance! |
| Offline
| |