BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 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
Default 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  
Old 03-31-2011, 09:27 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default Re: Getting Cell Id

Sounds like you have your simulator set to run in secure mode (which emulates the security of an acual commericial device). Applications must be signed to access controlled API calls on a secure mode "device". Try setting the simulator to non-secure, or signing your applicaiton.
__________________
My other Blackberry is a PlayBook.
Offline  
Closed Thread


Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: Getting Cell Id
Thread Thread Starter Forum Replies Last Post
Guide to breaking cell phone security revealed b_ohare General BlackBerry Discussion 1 12-30-2009 02:52 PM
Cell Broadcast Services johnling General BlackBerry Discussion 2 12-22-2009 09:42 AM
Here's one for you................ Vegas33139 General BlackBerry Discussion 13 12-13-2009 03:11 PM
Managing cell phones globally juwaack68 iPhone Android & other HandHeld Forum 0 10-18-2007 11:14 AM
Having trouble synchronizing contacts between Pearl and Outlook dfarrales General 8100 Series Discussion - Pearl 7 04-09-2007 01:03 AM

Computer Analog Instrument Number Readout German 24 Volt FS066 National Lab Lot
$100.0
Computer Analog Instrument Number Readout German 24 Volt FS066 National Lab Lot  pictureMEASUREMENT COMPUTING 193791A-01 PCI-DAS1000 ANALOG MULTIFUNCTION 16 CH BOARD
$199.0
MEASUREMENT COMPUTING 193791A-01 PCI-DAS1000 ANALOG MULTIFUNCTION 16 CH BOARD pictureMeasurement Computing PCI-DAS1602/16 High-Speed Analog Input Board
$295.0
Measurement Computing PCI-DAS1602/16 High-Speed Analog Input Board pictureJeppesen Student CSG JS514101 Flight Computer & Slide Graphic Computer Manual
$10.75
Jeppesen Student CSG JS514101 Flight Computer & Slide Graphic Computer Manual pictureIOTech ADC488/16 Measurement Computing Analog-Digital Converter ADC
$36.04
IOTech ADC488/16 Measurement Computing Analog-Digital Converter ADC picture






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