Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7912505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T13:37:29+00:00 2026-06-03T13:37:29+00:00

Android documentation for SMSManagers sendTextMessage function public void sendTextMessage (String destinationAddress, String scAddress, String

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T13:37:30+00:00Added an answer on June 3, 2026 at 1:37 pm

    It is broadcast when message is delivered to destinationAddress.

    The PDU may be extracted from the Intent.getExtras().get("pdu") when registered BroadcastReceiver receives the Intent broadcast you define with PendingIntent.getBroadcast(Context, int requestCode, Intent, int flags). For example:

    private void sendSMS(String phoneNumber, String message) {      
        String DELIVERED = "DELIVERED";
    
        PendingIntent deliveredPI = PendingIntent.getBroadcast(this, 0,
            new Intent(DELIVERED), 0);
    
        registerReceiver(
            new BroadcastReceiver() {
                @Override
                public void onReceive(Context arg0, Intent arg1) {
                    Object pdu = arg1.getExtras().get("pdu");
                    ... //  Do something with pdu
                }
    
            },
            new IntentFilter(DELIVERED));        
    
        SmsManager smsMngr = SmsManager.getDefault();
        smsMngr.sendTextMessage(phoneNumber, null, message, null, deliveredPI);               
    }
    

    Then you need to parse extracted PDU, SMSLib should be able to do that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm struggling to find documentation for the TimerTask function on Android. I need to
After reading the android documentation about String, which includes this: This class is implemented
From the Android documentation, I gather that I can append the ContactsContract.Contacts.Data.CONTENT_DIRECTORY string to
BACKGROUND: The Android documentation states: Constants public static final int FILL_PARENT Special value for
I have read the android documentation about getLayoutInflator and I am still not understanding
I've been reading the android documentation on reflection, but i'm just not really grasping
The Android documentation says that best practices are to make two drawable directories -
This page in the Android documentation defines an element id as follows: <TextView android:id=@+id/label
According to Android documentation, using the .getTime() method in the Android location will return
I came across this term in the android documentation with the accompanying definition These

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.