ok,i got it ,thanks 2010/8/24 Mark Murphy <[email protected]>
> On Tue, Aug 24, 2010 at 7:35 AM, Bin Dou <[email protected]> wrote: > > So how could I detect the call has been connected ? I have already knew > > three kinds of telephone states,CALL_STATE_IDLE, CALL_STATE_RINGING, > > CALL_STATE_OFFHOOK,and what i can do? > > CALL_STATE_OFFHOOK means a phone call is in progress. Or, as the > documentation puts it: > > "Device call state: Off-hook. At least one call exists that is > dialing, active, or on hold, and no calls are ringing or waiting." > > > http://developer.android.com/reference/android/telephony/TelephonyManager.html#CALL_STATE_OFFHOOK > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > _The Busy Coder's Guide to Android Development_ Version 3.1 Available! > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

