Ok but how could I identify that I answered a call or is lost, and the duration of the call? Because I can know the current state and at what time it is produced but I do not have information about previous states.
For example, I answer a call so I will receive OFFHOOK state, but when the call finished I will receive the IDLE state, but I could not know if the previous state was RINGING or OFFHOOK to identify wich kind of call was realized (answer or lost), and in the case of answered call I could not know when started. 2010/9/8 Mark Murphy <mmur...@commonsware.com> > On Wed, Sep 8, 2010 at 7:36 AM, KrcK --- <krc...@gmail.com> wrote: > >> There is also an Intent extra. > > > > Which information could I get through that intent? > > "The EXTRA_STATE extra indicates the new call state. If the new state > is RINGING, a second extra EXTRA_INCOMING_NUMBER provides the incoming > phone number as a String." > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > Android Training in London: http://skillsmatter.com/go/os-mobile-server > > -- > 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<android-developers%2bunsubscr...@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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en