How to detect whether the virtual keyboard is visible or not? SDK 1.5

by havexz » Wed, 29 Apr 2009 07:06:53 GMT

Sponsored Links

I want to know is there a way one can check(programmatically) whether
currently virtual keyboard is visible or not?
I want to run some code when the keyboard is visible. Is there a even
that occurs when the keyboard is being visible and when it goes back
to hidden state?


Other Threads

1. Passing object references

I'm a bit confused about passing object references... if we start a
service using intents, how can we pass refs between the class where
this code sits, and the service? There's no object created by me so I
can't pass parameters...

Intent i = new Intent("ww.main.LOCATOR_SERVICE");

Or am I starting the service incorrectly?



2. WebView addJavascriptInterface

I need to create secondary object in android project .java  file So, I
can write like
inside our class-

   webview.addJavascriptInterface(new MyParent() , "MyParent");
   webview.addJavascriptInterface(new MyChild() , "MyParent.MyChild");

class Widget
class Message  //  secondary class's object
  public String test()
  { }
to call the method of secondary object- message from javascript file
   var strname=Widget.Message.test()

 It won't allow due to dot "." or any other reason  in interfaceName
that I pass in addJavascriptInterface() method at cpp layer. Can any
body tell how to create and where to modify in webkit.
Thanks in advance


3. Question about view onDraw

4. Final yr project -- message inbox search -- help

5. Bachelor Thesis about Android

6. JUnit and Basic Java.

7. Java based UI & Scrolling of text