Android Question SMS intercept example

Beja

Expert
Licensed User
Longtime User
Hi Erel and all,

Is there somewhere an example app about how to use the sms intercept lib?
In both, the library and the tutorial I only found the lib files in zip file.

Thanks in advance.

edit:
In the tutorial there is a code for service module and manifest, but I need a working example that I can build on..
 

mangojack

Expert
Licensed User
Longtime User
hi Beja .. I have only just begun a small test app to intercept and display incoming sms message.
You are quite welcome to have a look.

It has not been well tested and could be buggy. only half commented but areas of code contain the url of original code for further read-up if necessary.
Note changes to the manifest re necessary permissions.
 

Attachments

  • smsInteceptor Example.zip
    27 KB · Views: 411
Last edited:
Upvote 0

Beja

Expert
Licensed User
Longtime User
Hi mangojack,
Thanks for the response.. I have an example working very fine, but the problem is that the message is showing in the default SMS App as well as on the interceptor App, when it shouldn't.. when the App intercepts the SMS then it should not appear in the device.

I will check your project.
 
Upvote 0

Beja

Expert
Licensed User
Longtime User
Hi mangojack,
Just tested your App.
It's working.. with the following bugs:
1- The SMS message appears first in my cellphone SMS client before being intercepted by the App.
2- Then the App intercepts it (in fact gets a copy of it)..
3- While the App gets the message, but it throws NullPointerException in main_activity_resume (java line: 316)
4- doesn't read contact list.

Thanks
 
Upvote 0

haddad

Member
Licensed User
Longtime User
hi beja
can you give me your exemple because the exemple for mangojak doasn't work

tks
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…