BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   GPS & Mapping (http://www.blackberryforums.com/gps-mapping/)
-   -   Error when retrieving Cellid (http://www.blackberryforums.com/gps-mapping/246928-error-when-retrieving-cellid.html)

UKSpike 03-31-2011 05:33 AM

Error when retrieving Cellid
 
Hi

Moved to Developement Forum.

I'd delete this one if I could work out how!

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!

devnull 03-31-2011 05:42 AM

Re: Error when retrieving Cellid
 
this should go in the developer section. you'll like get more attention there. ask a mod to move it for ya.


All times are GMT -5. The time now is 03:01 PM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.