http://developer.android.com/reference/android/view/View.html#onKeyPreIme(int, android.view.KeyEvent)
On Fri, Nov 6, 2009 at 10:07 AM, gshetty <[email protected]> wrote: > Hi > > I have a simple edit control in my application and as expected the > soft keypad comes up on tapping it. > > Now what I want to do is that when the user presses the back button, > the activity should quit immediately without the soft keypad going > down first. > On handling the key event in my activity i found that the first 'Back' > event is consumed by the keyboard and it does not even reach the > activity. However once the soft keypad goes down, the events can be > handled in my activity. > > Is there any way to override this behavior so that the back button > first reaches my activity and I can quit immediately. > > Regards > gshetty > > -- > 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

