它可以在模拟器上运行,但不能在真实设备上运行,为什么?请帮助我...提前谢谢!
<uses-permission android:name="android.permission.CALL_PHONE"/>
<uses-permission android:name="android.permission.SEND_SMS"/>
<uses-permission android:name="android.permission.WRITE_SMS"/>
<uses-permission android:name="android.permission.RECEIVE_SMS" />
smsManager.sendTextMessage(phoneNumber, null, Text, sentPI, deliveredPI);