Read SMS from the inbox or sent folder programmatically in Android

How to read SMS from the inbox or sent folder programmatically in Android:

To read all messages for inbox or sent programmatically in Android use following function.

Call above function to get all messages from inbox or send folder.

To get all sms from inbox or sent folder use following function

 

Sms class is below:


  • aman

    What is mActivity?

    • Tomáš Tomovčík

      Activity class declared as mActivity