I'm working on an application where I'm monitoring the Android call state. I've spent a lot of time working with and researching the available call state that comes from TelephonyManager. It does not seem to provide enough information to understand the call state for multiple callers.
For example, if I wanted to know the duration of both parties in this situation: * Answer an incoming call * Wait 2 minutes * Answer a second incoming call (first call is put on hold) * Wait 4 minutes * Hang up the phone. The events that Telephony Manager provides for this scenario are: * Idle to Ringing (with incoming number) * Ringing to Off hook * Off hook to Ringing (with incoming number) * Ringing to Off hook * Off hook to Idle Now I can assume that the first call is put on hold when the second comes in, but there is no new call state if they are later conferenced together. Or maybe the second call is answered briefly and then put on hold in the first calls place. There is no way to know how long either conversation was. There is another issue here in that I only ever receive one hang up event (off hook to idle). So if instead of putting the first caller on hold, I hung up on them - the call state would look exactly the same. Hopefully it's becoming obvious that I'm lacking the call state needed to fully monitor the phone activity. Is there other call state available or any way to find out when key presses happen for on hold, conference actions, or hang up?
-- 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