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

  • Home
  • SEARCH
  • 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 4119324
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T23:04:34+00:00 2026-05-20T23:04:34+00:00

I am trying to learn how to read the SMS outbox on Android. There

  • 0

I am trying to learn how to read the SMS outbox on Android. There are a lot of tutorials and guides for reading the inbox, but these are all using listeners.
See here:
http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/os/SmsMessageReceiver.html

The problem with that is it uses public void onReceive(Context context, Intent intent) and uses stuff like intent.getExtras() and uses context as part of the cursor.
I want to read the outbox so I wont be sending any intents or using any listeners. All I’ll be doing is clicking a Read button the main activity, then loading a 2nd activity that displays the body of all messages in the outbox (or with the SENT flag).

Is there a way this can be done, where I can just read all the SMS texts on demand?

Like I said, I’m reading the outbox so can’t rely on an event to trigger this other than a button click.

Thanks for any help.

PS I was able to read a single outbox text using a differnt method (not with SmsMessage) where I used a URI to content://sms/sent and used a cursor to try get through them, but I could only get the first sent message from that, so there must be something up with the looping.

  • 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-05-20T23:04:34+00:00Added an answer on May 20, 2026 at 11:04 pm

    There are a lot of tutorials and guides for reading the inbox, but these are all using listeners.

    The tutorial in question is not reading the SMS inbox. There is no support in the Android SDK for reading the SMS inbox.

    I want to read the outbox so I wont be sending any intents or using any listeners.

    There is no support in the Android SDK for reading whatever you think the SMS outbox is.

    I was able to read a single outbox text using a differnt method (not with SmsMessage) where I used a URI to content://sms/sent

    This is not part of Android, either the OS or the SDK. This is an undocumented and unsupported capability of the Messenger application that is part of the Android open source project. This application may not be on all devices. It may not be the user’s chosen SMS client. It may be modified at any time in the future by Google. You have been told by Google not to use it.

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

Sidebar

Related Questions

I'm trying to learn OpenGL ES quickly (I know, I know, but these are
I'm trying to learn about catamorphisms and I've read the Wikipedia article and the
I'm trying to learn RegEx in Ruby, based on what I'm reading in The
I am trying to learn CodeIgniter to use for a shopping site, but I
I'm trying to learn more about WPF and I've read a bit about Model-View-ViewModel
So I'm trying to learn more about lambda expressions. I read this question on
I am a Java developer trying to learn C++. I have many times read
Trying to learn a bit of CSS and I want a horizontal navbar and
In trying to learn how to create objects in ActionScript, I have had no
I'm trying to learn C. As a C# developer, my IDE is Visual Studio.

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.