Hi David, At present, there is no value in Phone state enum like 'ENGAGED' to show that the phone is engaged in a call. But the Phone state of RINGING is broadcast when a call is received and a state of IDLE is broadcast when the call ends. You could devise your logic to know when a phone is engaged based on that.
If you really feel there should a value to directly query the engaged state, you may want to put a feature request in the android issue tracker with a couple of use cases. Thanks, Megha On Tue, Apr 8, 2008 at 7:42 AM, David Welton <[EMAIL PROTECTED]> wrote: > > Hi, I know it's possible to receive information about the phone state > via an intent receiver: > > <receiver android:name=".Foobar"> > <intent-filter> > <action android:name="android.intent.action.PHONE_STATE"/> > > But is there a way to simply query whether the phone is engaged in a > voice call? Information about the call would be good too, but I don't > think that's possible, given that it's not even possible using the > intent receiver above. > > Thanks, > -- > David N. Welton > > http://www.welton.it/davidw/ > > http://www.dedasys.com/ > > > > --~--~---------~--~----~------------~-------~--~----~ 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

