webView焦点 以及响应输入发的问题

今天在webView中使用WebView w = new WebView (this); 
w.loadData("<html><body>fooz <input></body></html>", "text/html", "utf8"); 
setContentView (w); 

但是不能造字段中响应 除了滑轮可以

但是

 the T-Mobile G1 (1.6) 
-- the Google Ion (1.5) 
-- the Nexus One (2.1) 
-- the Motorola DROID (2.0.1) 这些设备中是可以的

而且在webView中如果有文本框 却不能响应调入出输入法

最后使用

myWebview.requestFocusFromTouch(); 这个解决

你可能感兴趣的:(html,Google,mobile,Motorola)