Re: [android-developers] How to get notified when there's an incoming call or SMS?
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 <xinxiaoc@gmail.com> 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 android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@googlegroups.com
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home