Sms Sent/delivered Broadcast Receiver
Possible Duplicate: Broadcast Receiver for Sent SMS I am currently detecting when an SMS is received through a broadcast receiver like so: Copy
And this code for separating send/receive events
UriuriSMSURI= Uri.parse("content://sms");
Cursorcur=this.getContentResolver().query(uriSMSURI, null, null,
null, null);
cur.moveToNext();
Stringprotocol= cur.getString(cur.getColumnIndex("protocol"));
if(protocol == null)
onSMSSend();
else
onSMSReceive();
Check the following url for reference:
http://www.mail-archive.com/android-developers@googlegroups.com/msg27154.html
Post a Comment for "Sms Sent/delivered Broadcast Receiver"