Last I knew, the only way is to manually store them into the outbox.
Upon calling of the PendingIntent, move them yourself when they are
either sent or failed.

content://sms/outbox, content://sms/sent, content://sms/failed

If you have access to the Android framework, do a search for
"addMessageToUri" and "moveMessageToFolder".  I copied and pasted
those into my app and it worked for me.

On May 29, 5:09 am, Kasmoori Bindu <[email protected]> wrote:
> Hi All,
>
> I am beginner to Android platform.
> I would like to know how to capture the SMS messages that i sent using SMS
> service.
>
> I have used my own editor instead of Messaging Composer.
>
> I am able to send the messages using the SMS service from my Editor but
> Some how i could not see the messages in Messaging application.
>
> *Here is the code snippet used:*
>
> *//---sending message using SMS service API ---
>    private void sendSMS(String phoneNumber, String message)
>    {
>        PendingIntent pi = PendingIntent.getActivity(this, 0,
>            new Intent(this, SMS.class), 0);
>        SmsManager sms = SmsManager.getDefault();
>        sms.sendTextMessage(phoneNumber, null, message, pi, null);
>    }*
>
> Any help would be appreciated.
>
> Best Regards,
> Bindu
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to