You can register a boradcast receiver for the
android.provider.Telephony.SMS_RECEIVED intent.
Please see this example:
http://davanum.wordpress.com/2007/12/15/android-listen-for-incoming-sms-messages/

On 16 October 2010 14:53, Alex Xin <[email protected]> wrote:
> Hi,
> I'd like to implement a feature that monitors incoming calls and SMS, and
> blocks them if necessary. But I don't know how to capture such events, could
> someone tell me how to do that? Thank you very much.
> Alex
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to