BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 03-31-2011, 05:33 AM   #1
UKSpike
New Member
 
Join Date: Mar 2011
Model: 8900
PIN: N/A
Carrier: O2
Posts: 2
Default Error when retrieving Cellid

Please Login to Remove!

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!

Last edited by UKSpike; 03-31-2011 at 06:02 AM.. Reason: Moved to Developement Forum- I'd delete this one if I could work out how!
Offline  
Old 03-31-2011, 05:42 AM   #2
devnull
BlackBerry Extraordinaire
 
Join Date: Dec 2006
Model: I747
OS: 4.1.1
Carrier: at&t
Posts: 2,339
Default 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.
__________________
The Search tool and BlackBerryFAQ answer many questions.
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads for: Error when retrieving Cellid
Thread Thread Starter Forum Replies Last Post
retrieving saved emails/messages jkotsonas General 8300 Series Discussion - Curve 0 11-30-2010 01:56 PM
Errors retrieving data from MDS server lirryeti Site Suggestions, News & Problems 2 06-09-2009 06:04 PM
CellID, LAC and BSIC info mcthedog GPS & Mapping 1 06-05-2008 09:34 AM
Errors in retrieving details from MDS jamesattard BES Admin Corner 1 11-27-2006 06:57 AM
Problems retrieving email Drilus General BlackBerry Discussion 7 04-24-2006 10:42 AM


BEEYUIHF 625Pcs 24Values Aluminum Electrolytic Capacitor Kit 10V-100V 1F-1000uF picture

BEEYUIHF 625Pcs 24Values Aluminum Electrolytic Capacitor Kit 10V-100V 1F-1000uF

$24.99



CBB60 Motor Run Capacitor 450VAC 10uF/20uF/30uF/40uF/50uF 4 Pins CE Standard picture

CBB60 Motor Run Capacitor 450VAC 10uF/20uF/30uF/40uF/50uF 4 Pins CE Standard

$12.99



45/5 MFD uf Round Dual Run Capacitor HVAC AC 45+5 µF 370-440VAC 50/60Hz 5% picture

45/5 MFD uf Round Dual Run Capacitor HVAC AC 45+5 µF 370-440VAC 50/60Hz 5%

$20.99



1PCS - C61 4.5uF+5uF+6uF 5 WIRE 250VAC Ceiling Fan Capacitor UL CERTIFIED picture

1PCS - C61 4.5uF+5uF+6uF 5 WIRE 250VAC Ceiling Fan Capacitor UL CERTIFIED

$7.50



6.3V 10V 16V 25V 35V 50V 100V 400V SMD Aluminum Electrolytic Capacitor 1-1000 UF picture

6.3V 10V 16V 25V 35V 50V 100V 400V SMD Aluminum Electrolytic Capacitor 1-1000 UF

$155.59



CBB61 250V  Capacitor 2 wires 1/2/3/3.5/4/5/6/7/8/9/10/12/15/18/20/24/25/30 UF picture

CBB61 250V Capacitor 2 wires 1/2/3/3.5/4/5/6/7/8/9/10/12/15/18/20/24/25/30 UF

$129.95







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.