Webkit(Webview) & IME

by Huibin QIAN » Tue, 01 Jul 2008 17:15:59 GMT

Sponsored Links
 I got a problem. when I implement my new Browser using the webkit and
want to input 'words' of mine into the webview's edittext. 'Cause my
MOBILE Phone have no keybord, so I use softkeyborad to input.
my problem is I can input my words into the webview edittext, but in
fact, the edittext can't get what i input. How can I resolve it?

Other Threads

1. Bug fix on android 2.1


It seams to me that a bug was fixed between android 2.0.1 and 2.1
about TransitionDrawable (or maybe ImageView).

When using TransitionDrawable in a ListView (with convert view
mechanism) in android 2.0.1 and below, I can't see the Transition if I
scroll rapidly to the end of the list, and then go back to the middle
(even through I'm calling startTransition). Note that my
TransitionDrawable is set as the image of an ImageView.
(Tested on emulators from 1.6 to 2.1, and on real devices : G2 with
1.5, G2 with 1.6 and Nexuos One with 2.1)

But with android 2.1, the bug magically disappeared ! I'm quite happy
but I still want backward compatibility...

So is there anyone on the android team a bit less busy than the others
who could run a diff on TransitionDrawable and ImageView between 2.01
and 2.1 and tell us what's going on ? :)

Of course the change could have occured on LayerDrawable or other
parent's classes as well...



PS : here's part of my code

                    Drawable drawableOld = this.getDrawable();
                    Drawable drawableNew = new BitmapDrawable
                    Drawable[] layers = {drawableOld, drawableNew};
                    TransitionDrawable transitionDrawable = new


2. Problem with invalidate

If I have two views in a linear layout, and invalidate one of them, it
causes the other view to redraw needlessly. Im my application on view
is animated, and the other takes a long time to draw, this is causing
problems with the animation.

extra LinearLayout prevents the unnecessary redraw, as does separating
the two views by a 1 pixel margin. Looking at the code in the sdk it
seems the dirty rectangle for each view is (top, left, top + width,
bottom + width), which means neighboring clip and dirty rectangles
overlap by one pixel, causing the additional unwanted redraw.

Is this a but in the Android SDK, or is it intended. If intended, why?



3. Young French Dev need help

4. How to determine size of a custom view

5. Villain Rom 2.0.1

6. forming xml and posting it ...

7. How to achieve ultra smooth OpenGL/ES animation