title: How to detect sent message?
body: <p>I am working on the message sending and receiving , i got many answers for message receiving via broadcast receiver , But there is no solution for message sent .</p>
  
  <pre><code>&lt;receiver
              android:name="com.test.services.MessageReciver"
              android:enabled="true"
              android:permission="android.permission.BROADCAST_SMS" &gt;
              &lt;intent-filter&gt;
  
                  &lt;action android:name="android.provider.Telephony.SMS_DELIVER" /&gt;
                  &lt;action android:name="android.provider.Telephony.SMS_RECEIVED" /&gt;
  
              &lt;/intent-filter&gt;
          &lt;/receiver&gt;
  
  
  
  public static final String ACTION_RECEIVED = "android.provider.Telephony.SMS_RECEIVED";
      public static final String ACTION_SENT = "android.provider.Telephony.SMS_DELIVER";
  
      Context context;
  
      @Override
      public void onReceive(Context context, Intent intent) {
  
  // this section works only when message received on in case of sent
  }
  </code></pre>
  
  <p><strong>But the broadcast receiver work only for message received not for message sent.</strong></p>