11-03-2013 09:17 AM
I have already looked through all the APIs here. https://developer.blackberry.com/native/reference/
And can't find any APIs to get the SIM Card Number. Anyone knows would share please?
Solved! Go to Solution.
11-04-2013 03:02 AM - edited 11-04-2013 03:55 AM
Which number are you looking for? The MSISDN? Or the SIM card serial number?
The SIM serial number is available from SimCardInfo: https://developer.blackberry.com/native/reference/
The MSISDN (mobile phone number) *may* be available from Line::address()
Note that Line objects are acquired from a Phone object.
*May* because it depends whether or not the SIM has the MSISDN set in a readable form... not all SIMs do and the carrier generally controls this.
There's another way to get the phone number as well. See half way down this page:
11-04-2013 01:29 PM