Hi Thanks all for your answers.
I put a code in the onSizeChanged(), but when this method is called always when the view resizes. I'd like to know how I can discover using this method if the virtual keyboard is opened or not. I saw the InputMethodManager, but I didn't find how to use this class for my purpose. Anyone can help me? Thanks again On Tue, Sep 29, 2009 at 7:51 AM, AJ <[email protected]> wrote: > > If your class is extending from an Activity then I don't know how to > get that event. > > But if your app has some class which is extending from View, then > onSizeChanged() gets the control when ever your view gets shortened. > > Like:- WebView get in Browser app > > > Thanks, > AJ > > On Sep 29, 2:34 pm, Mark Murphy <[email protected]> wrote: >> Gulfam wrote: >> > I also want to take some actions on soft keyboard appear and >> > disappear. >> > any one can help us how we can get appear and disappear events. >> >> There are no such events, short of detecting a window resize (and, off >> the top of my head, I don't know how to do that). >> >> -- >> Mark Murphy (a Commons >> Guy)http://commonsware.com|http://twitter.com/commonsguy >> >> Android App Developer Books:http://commonsware.com/books.html > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

