anismiles / websocket-android-phonegap

This is a Java library that implements Websockt API (Draft-75/76) for Android platform. Library uses java.nio.* packages for efficient non-blocking evented behavior. It easily gets integrated with Phonegap framework.
http://wp.me/pVyFz-qO
MIT License
322 stars 137 forks source link

Socket calls are stealing focus from input fields and hides soft keyboard #8

Open xtassin opened 13 years ago

xtassin commented 13 years ago

Every time socket.send is called from the javascript, the soft keyboard (if currently open) is closed immediately.

The problem appears to be related to the appView.loadUrl call. If I comment it out, keyboard stays visible.

anismiles commented 12 years ago

I will look into this.

IndrekV commented 12 years ago

I've tackled this issue and found a workaround for this. Look http://stackoverflow.com/questions/9303836/webview-hides-soft-keyboard-during-loadurl-which-means-a-keyboard-cannot-stay