Android的web视图setPluginsEnabled API [英] Android webview setPluginsEnabled api

查看:318
本文介绍了Android的web视图setPluginsEnabled API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直使用WebView.setPluginsEnabled()和targetSdkVersion 17日在我的应用程序(已经在Play商店中)。现在,我即将推出它的更新版本的一些新功能。我已经设置了targetSdkVersion 19,但我已经与Android构建目标4.2.2编译成功了。我已经验证的各种版本和构建运行良好。有没有发布这个版本无论如何还是关注?

I have been using WebView.setPluginsEnabled() and targetSdkVersion 17 in my app(already in playstore). Now, I am about to release it's updated version with some new features. I have set the targetSdkVersion 19 but I have compiled it successfully with android build target 4.2.2. I have verified on various versions and the build runs fine. Is there any case or concern in releasing this build ?

我已经提到了以下链接:
<一href=\"http://stackoverflow.com/questions/19362049/setpluginsenabled-not-exist-for-webview\">setPluginsEnabled不存在的WebView

I have already referred the following link: setPluginsEnabled not exist for WebView

推荐答案

19版开始(4.4 - 奇巧),Web视图已经更新为使用铬他们的基地。这可能有不同的行为旧风格的WebView。所以,你应该有一个4.4设备(或模拟器......)测试。

Starting in version 19 (4.4 - Kit Kat), Web Views have been updated to use chrome for their base. This can have different behavior to the old style webview. So you should test with a 4.4 device (or emulator...).

所以低于19的任何使用旧的WebView和19及以上使用镀铬基于网页视图

So anything below 19 uses the old webview and 19 and above uses the chrome based webview

请参阅此链接

这篇关于Android的web视图setPluginsEnabled API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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