I’m Building an application that will read every new sms from inbox
and it is from specific sender, my app will read the content and if it has some specific content then it will do some action.
Goals :
1. I want to get new message sender’s name or number (say my specific sender don’t show number it is something like TM-Google , TM-MyGinger mostly telemarketting Senders)
2. If it is from one for whom i was searching then i want to read the content of message.
The else is my part.
Please provide some idea or code snippet.
Create a SMS receiver
You can read inbox using following code:
Add flowing to manifest
and add permission for
READ_SMSandRECEIVE_SMS