我需要设置/更改模拟器的电话号码以进行调试...感谢任何帮助...谢谢 :)
http://developer.android.com/guide/developing/tools/emulator.html....
覆盖这个,你就会知道如何在模拟器中进行更改。
嗨,通过调用TelephonyManager类中的getLine1Number()方法获取电话号码。
TelephonyManager tmgr=(TelephonyManager)this.getSystemService(Context.TELEPHONY_SERVICE) ;
你可以返回静态电话号码