Android documentation for SMSManagers sendTextMessage function
public void sendTextMessage (String destinationAddress, String scAddress, String text,
PendingIntent sentIntent, PendingIntent deliveryIntent)
deliveryIntent if not NULL this PendingIntent is broadcast when the message is delivered to the recipient. The raw pdu of the status report is in the extended data (“pdu”)
I could not understand if deliveryIntent is fired when SMS is delivered to destinationAddress or scAddress and what is the meaning of “raw pdu of the status report is in the extended data (“pdu”)” and how to get that report? .
I appreciate your effort.
It is broadcast when message is delivered to
destinationAddress.The PDU may be extracted from the
Intent.getExtras().get("pdu")when registeredBroadcastReceiverreceives the Intent broadcast you define withPendingIntent.getBroadcast(Context, int requestCode, Intent, int flags). For example:Then you need to parse extracted PDU, SMSLib should be able to do that.