文件名称:android 后台发短信
文件大小:125KB
文件格式:RAR
更新时间:2014-05-12 12:51:06
android sms
后台发短信,并监听发送状态! public void sendMSG(String phoneNum, String content) { SmsManager smsManager = SmsManager.getDefault(); Intent itSend = new Intent(SMS_SEND_ACTIOIN); Intent itDeliver = new Intent(SMS_DELIVERED_ACTION); PendingIntent mSendPI = PendingIntent.getBroadcast(context, 0, itSend, 0); PendingIntent mDeliverPI = PendingIntent.getBroadcast(context, 0, itDeliver, 0); smsManager .sendTextMessage(phoneNum, null, content, mSendPI, mDeliverPI); }
【文件预览】:
SendMSGInBackGround
----.project(855B)
----default.properties(362B)
----bin()
--------SendMSGInBackGround.apk(20KB)
--------com()
--------.svn()
--------resources.ap_(15KB)
--------classes.dex(6KB)
----proguard.cfg(1KB)
----AndroidManifest.xml(731B)
----.svn()
--------props()
--------entries(926B)
--------text-base()
--------format(2B)
--------tmp()
--------prop-base()
----src()
--------com()
--------.svn()
----res()
--------values()
--------layout()
--------drawable-ldpi()
--------drawable-hdpi()
--------.svn()
--------drawable()
--------drawable-mdpi()
----.classpath(280B)
----gen()
--------com()
--------.svn()
----assets()
--------.svn()