Using the PhoneStateListener is the way to most easily listen for SMS
and phone calls. Besides the Android documentation, this was a helpful
tutorial:

http://www.anddev.org/viewtopic.php?p=10527

On Jun 10, 6:11 am, Mika <mika.ristim...@tkk.fi> wrote:
> Hi,
>
> You can do this by using content providers. You can listen to changes
> in content://sms uri and for sent messages you go through content://sms/sent
> and find the new sent messages. You can do similar thing with call log
> or use PhoneStateListener and listen when the call is on hook, off
> hook and idle.
>
> -Mika
>
> On Jun 10, 1:42 pm, Monkiki <monk...@gmail.com> wrote:
>
>
>
> > I've been searching the application permissions and I see no way to
> > make an app to enable getting notified when the user send an SMS or
> > make a phone call. How can I accomplish this task?
>
> > Thanks in advance.

--~--~---------~--~----~------------~-------~--~----~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to