Is it possible to get all SIM numbers (if dual SIM) from phone programmatically? And how?
I know there's a way to check if the phone is dual sim. But I didn't find information how can I exctract actually those numbers.
There's a method to get phone number but it doesn't work for dual sim:
TelephonyManager tMgr = (TelephonyManager) getActivity().getSystemService(Context.TELEPHONY_SERVICE);
String phone = tMgr.getLine1Number();