1

After sending a sms, write the sms into sent folder. How can i do it on android?

SmsManager sm = SmsManager.getDefault();
sm.sendTextMessage(to, null, text, null, null);
1
  • I've never used this, but doesn't that happen automatically? Anything else sounds awfully weird to me at least...
    – Julian
    Dec 14, 2010 at 12:12

1 Answer 1

2

There is no "sent folder" in Android.

Some SMS clients may have a "sent folder". You would have to contact the developers of those applications to find out if there is a documented and supported API for manipulating that folder. For example, there is no documented and supported API for the Messenger application that is part of the Android open source project.

3
  • the sent folder that i said is content://sms/outbox/.
    – sweetier
    Dec 15, 2010 at 0:02
  • @sweetier: That is not part of the operating system. That is an undocumented and unsupported content provider published by the Messenger application. Devices that have replaced this application may or may not offer that content provider. Google has specifically told you to avoid using it: android-developers.blogspot.com/2010/05/… Dec 15, 2010 at 1:00
  • Thanks for your comments. Really appreciate it.
    – sweetier
    Dec 15, 2010 at 1:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.