2016-06-24 58 views
2

是否可以通过编程方式从手机获取所有SIM卡号码(如果是双SIM卡)?如何?获取所有SIM卡电话号码

我知道有一种方式check if the phone is dual sim。但我没有找到信息,我怎么能实际交换这些数字。

有拿到电话号码的方法,但它并不适用于双卡工作:

TelephonyManager tMgr = (TelephonyManager) getActivity().getSystemService(Context.TELEPHONY_SERVICE); 
String phone = tMgr.getLine1Number(); 
+2

由于SIM卡没有存储在SIM卡中,所以一些运营商不可能使用。我们只能得到SIM序列号。 –

+0

@PraveenKumar,很伤心..无论如何感谢您的快速回复 – AnZ

回答

相关问题