Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
12-13-2010 12:35 AM
I'm using the above method to read MCC
Solved! Go to Solution.
12-13-2010 03:17 AM
it may be possible that the network is not available at startup resp. by the time you execute this code.
12-13-2010 03:28 AM
But me too guess the same. Though when i printed RadioInfo.getCurrentNetworkIndex() separat
get printed as 0 without any exceptions.
Printing zero , will it mean no RadioInfo thr ?
How can i solve this ?
Thanks in advance.
12-13-2010 04:39 AM - edited 12-13-2010 04:40 AM
Here is a good pattern for 'start-up' processing that should mean you can get your Radio information once the device has properly started.
12-13-2010 04:48 AM
while peters suggestion is of course valid it does not solve the problem.
some people have devices which connect only after a prompt, or the user needs to start the network manually.
i would suggest that you check http://www.blackberry.com/developers/docs/6.0.0api
12-13-2010 05:40 AM
There an iterface RadiStateListner to listen , when the status change. Am i right ?
Hope using that i can resolve this issue.
Hence i'm using some other methods also needs to iniialize i think it's better to use systemListner as Peter suggested.
12-15-2010 06:15 AM
I'm reading MCC when application in auto startup
Previously i got illegal state exception and now it is no longer existing after setting the system listeners.
But still i'm getting null value and illegalArgumentException.
I have tried by setting RadiStatusListeners as well.But didn't work.
Can anyboday help me on this ?
Thanks in advance.