webview 中 Soft Keyboard 和 Hard keyboard 同时出现

我创建了一个webview,当在webpage里输入信息时,我想让软键盘出现。
我用了下面两种方法:
1)

InputMethodManager imm = (InputMethodManager) getApplicationContext().getSystemService(Context.INPUT_METHOD_SERVICE); 
imm.toggleSoftInput(InputMethodManager.SHOW_FORCED, 0);

2)

webView.requestFocus(View.FOCUS_DOWN);
 webView.setOnTouchListener(new View.OnTouchListener()
   {
    @Override
     public boolean onTouch(View v, MotionEvent event)
    {
      switch (event.getAction())
      {
        case MotionEvent.ACTION_DOWN:
        case MotionEvent.ACTION_UP:
            if (!v.hasFocus())
            {
                v.requestFocus();
            }
            break;
       }
      return false;
    }
   });

我设法让这个程序能在root后的samsung上运行,但是在nexus 7也root了,但是不能运行。
什么问题呢?

照理说,在onTouch中requestFocus应该就可以了,不行就试试
webView.postDelayed(new Runnable() {
@Override
public void run() {
webView.requestFocus();
}
},long 毫秒);