Read sms messages programatically in Android

Read SMS

Anu S Pillai

The Admin at

You may also like...

9 Responses

  1. G-Wiz says:

    I have tried to follow your example. However, I get the following errors:
    Error:(7, 34) error: cannot find symbol class BroadcastReceiver
    Error:(13, 27) error: cannot find symbol class Context
    Error:(13, 44) error: cannot find symbol class Intent
    Error:(12, 5) error: method does not override or implement a method from a supertype
    Error:(14, 9) error: cannot find symbol class Bundle
    Error:(19, 13) error: cannot find symbol class SmsMessage
    Error:(19, 37) error: cannot find symbol variable SmsMessage

    Any advice would be appreciated.

  2. indrajeet chaturvedi says:

    Hover @ the names and you will get the suggestions to import the files .
    hope it will help you . 🙂

  3. Nice Blog,but please give some more explanation of code to get understand

  4. Anonymous says:

    where is ui for mainactivity bro

  5. Tammy says:

    how to access oldmessages

  6. Prasad says:

    I try this code. There are no any errors. But it is not listening SMSes. I checked this with adding Log.d in logcat. I added a log to onReceiver method in SmsReceiver class.

  7. Anonymous says:

    Where did you register receiver?

  8. vahid says:

    this not work on dual can i solve it???

  9. Saeed says:

    My listener is not getting fired. Any ideas?

Leave a Reply

Your email address will not be published.