There is more to this story than we know yet. The standard IME receives key events from the application *before* they get dispatched through the normal facility. You won't see the back key if the IME in onKeyDown()/onKeyUp() if it was actually going to use it to hide itself. There are a number of standard platform applications that intercept the back key like this and work fine with the IME.
On Tue, Nov 2, 2010 at 10:44 PM, [email protected] <[email protected]>wrote: > > Yes. > I thought that as I am overriding the the back button it would not > effect on my keyboard . > but when the keyboard is open and I press back button it is closing > application but it is not closing the open keyboard as expected.. > What I need to do so that I can know that the keyboard is open close > it and not close the application > > Thanks, > Tanmay > > -- > 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

