Hi,

In TelephonyManager there's a method called listen. If you provide
that with a PhoneStateListener, you can use the callback method
onCallStateChanged to listen to the events CALL_STATE_IDLE,
CALL_STATE_RINGING and CALL_STATE_OFFHOOK.

Good luck!

Andreas

On Mar 12, 11:17 pm, df <trfilmograp...@gmail.com> wrote:
> Hi android developers!
>
> I'm clearly a newb, and I was wondering if anyone knows how I can
> detect a "ring" event on my cellphone through the android sdk?
>
> If you want to simply point me to a page in the api documents that
> would be a good answer for me, I just don't know how to start my
> research!

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to