08-13-2013 07:53 PM
TelephonyManager mTelephonyMgr = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE
String num = mTelephonyMgr.getLine1Number();
the num turns out to be null, I even used debugger to probe every value within mTelephonyMgr, but none of them seems to contain the phone number, anyone know if it is possible to retrieve the phone number? thanks
any comments are appreicated.
Solved! Go to Solution.
08-14-2013 10:27 AM
Thanks for dropping by the forums!
Retreiving the phone number via the TelephonyManager class would not be supported within the BlackBerry Runtime for Android apps per the documentation provided at: https://developer.blackberry.com/android/apisuppor