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
Developer
Posts: 54
Registered: ‎10-05-2012
My Device: blackberry curve 9300
My Carrier: Vodafone
Accepted Solution

Sim card ICCID number ?

[ Edited ]

i am using SIMCardInfo class to get iccid but whenever i m installing my app on device ,

I m getting java.lang.NoClassDefFoundError ...

 below is the code ..

try {
        GPRSInfo.imeiToString(SIMCardInfo.getICCID());
        }

catch (Exception e) {
            e.printStackTrace();
        }

 

 

Please can anyone help me ???

Developer
Posts: 17,012
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Sim card ICCID number ?

BlackBerry API 7.1.0

most likely your device is not 7.1
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
Posts: 54
Registered: ‎10-05-2012
My Device: blackberry curve 9300
My Carrier: Vodafone

Re: Sim card ICCID number ?

true but how can get sim serial number in it ..?? can u help me please  ??

Developer
Posts: 17,012
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Sim card ICCID number ?

if the method is only supported since 7.1 there is no other way before.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
Posts: 54
Registered: ‎10-05-2012
My Device: blackberry curve 9300
My Carrier: Vodafone

Re: Sim card ICCID number ?

Thanks Simon .. for ur reply ...