It is a sticky broadcast so you receive the last published value. On Tue, Nov 3, 2009 at 10:48 AM, Tabibito <[email protected]> wrote:
> For some reason onCallStateChanged gets triggered with a state of > CALL_STATE_IDLE on phone startup... perhaps because it is changing > from undefined to CALL_STATE_IDLE? Does anyone know how to distinguish > this scenario from a hangup? Is there a way to see the previous call > state, i.e. the state from which the callstate just changed? Then I > could just trigger my popup notepad only if it changed from > CALL_STATE_OFFHOOK to CALL_STATE_IDLE. Thanks! > > -- > 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 > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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

