And is that the approach you are planning to go for? On Thu, Mar 11, 2010 at 3:38 PM, jamesc <jame...@gmail.com> wrote: > It appears (the endBatchEdit() didn't work out) that the correct way > has been stated before by Dianne: > > http://groups.google.com/group/android-developers/browse_thread/thread/9d1681a01f05e782 > > On Mar 11, 3:14 pm, Sean Hodges <seanhodge...@googlemail.com> wrote: >> I believe the back button event is intercepted by the keyboard app, so >> it knows to hide. Once focus is returned to your app, the event has >> already been processed. >> >> I'm not aware of any way to intercept the events of another app (like >> the soft keyboard). You could write your own keyboard app that passes >> the back button event as an intent, but I imagine that's not the >> solution you are looking for. >> >> If the endBatchEdit() method is working for you, I would stick with >> it. Alternatively, you might want to re-think your approach to this >> problem, as there are lots of soft keyboard apps out there and there >> is a chance they won't all play nice with your custom integration... >> >> On Thu, Mar 11, 2010 at 11:01 AM, mariush <mariusz...@gmail.com> wrote: >> > Did you solve this? >> > Anyone knows solution to this problem? >> >> > On 8 Lut, 19:35, jamesc <jame...@gmail.com> wrote: >> >> If theBACKbutton is pressed when the soft keyboard is being >> >> displayed, noBACKkeycode event is generated (when it's not shown, >> >> andBACKis pressed, then my View's onKeyDown()/onKeyUp() methods get >> >> calledback). >> >> >> Is this expected behaviour? I'm trying to catch when the IME is >> >> hidden uponBACKbeing pressed. I'm currently working around this in >> >> the endBatchEdit() method (I'm implementing BaseInputConnection). >> >> >> Any help gratefully received, as ever. >> >> >> Cheers >> >> >> James >> >> > -- >> > You received this message because you are subscribed to the Google >> > Groups "Android Developers" group. >> > To post to this group, send email to android-developers@googlegroups.com >> > To unsubscribe from this group, send email to >> > android-developers+unsubscr...@googlegroups.com >> > 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 android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en