如何设定Android的WebView,使其工作相同的Andr​​oid浏览器? [英] How to setup Android WebView to make it work identically Android browser?

查看:138
本文介绍了如何设定Android的WebView,使其工作相同的Andr​​oid浏览器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是启用或禁用的WebView做到这一点的设置?

What are the settings to enable or disable in WebView to do this?

推荐答案

如果你想使用网页视图完全一样的功能,作为原生的Andr​​oid浏览器,你必须检查许多选项和设置。网页视图是由不使用所有的浏览器选项和设置获得更高的性能,并具有哪些用户可以和不可以浏览时做更多的控制研究。弄清楚你应该通过这里的API文档阅读的机会:
http://developer.android.com/reference/android/webkit/WebView.html

If you want to use a webview with exactly the same features as the native android browser, you have to check MANY options and settings. A WebView is made to NOT use all of the browsers options and settings for better performance and for having more controll on what the users can and can not do while browsing. to figure out all the opportunities you should read through the api documentation here: http://developer.android.com/reference/android/webkit/WebView.html

有关一些进一步的交易,并与web视图类处理也在这里有一些有用的样本codelines:
<一href=\"http://pankajchunchun.word$p$pss.com/2013/01/09/example-of-webview-with-result-handler-and-connection-timeout-handler/\" rel=\"nofollow\">http://pankajchunchun.word$p$pss.com/2013/01/09/example-of-webview-with-result-handler-and-connection-timeout-handler/

For some further dealing and handling with the WebView class also here are some usefull sample codelines: http://pankajchunchun.wordpress.com/2013/01/09/example-of-webview-with-result-handler-and-connection-timeout-handler/

我希望这会帮助你。

这篇关于如何设定Android的WebView,使其工作相同的Andr​​oid浏览器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆