I tried this, and CALL_STATE_OFFHOOK event occurs as soon as you dial the phone number. So it still doesn't help you determine when the other person answers. There is nothing in the public API that can be used to tell you when the phone is answered. I was hoping someone knew another way. Maybe using reflection to get to a hidden method, or having the program check the system logs for a message that appears when the phone is answered.
On Oct 22, 10:07 am, TreKing <treking...@gmail.com> wrote: > On Sat, Oct 16, 2010 at 12:50 PM, Gergely Juhász <jg.sv...@gmail.com> wrote: > > I can detect incoming calls (with PhoneStateListener), outgoing calls by > > NEW_OUTGOING_CALL intent, > > but i can not find a way to distinguish the dialing and connected phone > > states. > > Never used it, but this seems > promising:http://developer.android.com/reference/android/telephony/TelephonyMan... > > --------------------------------------------------------------------------- > ---------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices -- 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