Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Highlighted
Developer
Posts: 131
Registered: ‎08-13-2008
My Device: Not Specified
Accepted Solution

Cannot use IDENInfo.IDENCellInfo.getCellInfo()

When the following is run, the simulator/ device both crashes (No SIM card inserted)

 

IDENInfo.IDENCellInfo info=IDENInfo.getCellInfo(); //or below, same effect //IDENCellInfo info=IDENInfo.getCellInfo(); ms.add(new RichTextField("LLA"+info.getLLAId())); ms.add(new RichTextField("CellId"+info.getCellId()));

Simulator (JDE 4.3.0):

An unsupported API was called: RadioEngGetInfo

(However, if I "ignore all DE372s" on the simulator, I can see the CellId and LLA fine)

 

Device (v4.3.072):

net.rim.device.api.system.UnsupportedOperationException

 

Please help Smiley Sad !

BlackBerry Development Advisor
Posts: 15,301
Registered: ‎07-09-2008
My Device: BlackBerry Passport
My Carrier: Bell

Re: Cannot use IDENInfo.IDENCellInfo.getCellInfo()

[ Edited ]
The IDENInfo class should only be used on BlackBerry models that operate on the iDEN network.  Please also have a look at CDMAInfo, GPRSInfo and WLANInfo, which provide similar information for the other networks.
Message Edited by MSohm on 09-19-2008 12:58 PM
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker