-1

I want to create an app that once you click on a button in the main page you will see all the SMS threads and be able to choose one. once you choose one I want to take all its messages and do something with it and then show the result on the screen. Is there some way to start the regular SMS app from my app and then it will send it to my app or should I list all the SMS threads in another activity and then allow to choose a thread?

If only the latter option is valid, should I use the SmsManager? Thanks

walla
  • 293
  • 1
  • 2
  • 16

1 Answers1

0

I ended up with an app with 3 activities: main, allSms and secificSms. When you press on a button in the main activity it opens the allSms activity. This activity is showing all the SMS messages in the inbox using code from here: How can I read SMS messages from the device programmatically in Android? When you press on a specific message in this activity we start the specificSms activity with the thread Id and show all the messages with this thread Id.

Community
  • 1
  • 1
walla
  • 293
  • 1
  • 2
  • 16