Android Question SmsInterceptor Working Example


Licensed User
Longtime User

I am struggling to get the SmsInterceptor working, I have been searching for few hours now and could not find working example.

I noted some example posted by other but I could not get it working.

My objective is to intercept define format of incoming SMS (only when my apps is running), if during my apps active, the message match my format, I need to stop it from going to InBox.

My Apps will process it.

Can anyone point in the right direction. (working example will be good start.... :p )

Thanks In Advance.:)



Licensed User
Longtime User
i am using android 2.3 right now so that wont be a problem. So how do i get the sms id and how can i mark the sms as read using that sms id?
Upvote 0