我在这里的评论中列出了一个潜在的解决方案:如何在androidwebview中启用默认的高亮菜单?
这是潜在解决方案的内容:经过分析,
android.webkit.WebViewClassic我在以下方面取得了一些成功:
KeyEvent enterEvent = new KeyEvent(0,0,KeyEvent.ACTION_DOWN,KeyEvent.KEYCODE_ENTER,0,0);enterEvent.dispatch(this);
我认为可能需要更多,因为
WebView在使用模拟器时需要向下滚动一点,然后才能在上面运行,但是在实际的JellyBean设备上测试后,上面的效果似乎很好。



