本文介绍了Android的webkit.WebView和HTML5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有哪些HTML5特性的的WebView任何列表支持,哪些不是?我主要感兴趣的是:

is there any list which HTML5 features the WebView supports and which not? I am interested mainly in:

1)的localStorage / sessionStorage

1) localStorage/sessionStorage

2)离线清单

3)网络插座

4)网络工作者

此前有缺乏这些功能(http://www.mail-archive.com/[email protected]/msg60143.html),但在Android 2.1系统,前两个应予支持,但我不知道3和4。是否有支持的功能的任何列表或者我们必须在我们自己的测试呢?

Prior there was lack of those features (http://www.mail-archive.com/[email protected]/msg60143.html), but in Android 2.1, first two should be supported, but I am not sure about 3 and 4. Is there any list of supported features or we have to test it on our own?

非常感谢BR斯登

推荐答案

手机浏览器的信息实际上是现在包括在caniuse.com,为您的列表,请参见:

Mobile browser info is actually now included on caniuse.com, for your list see:

http://caniuse.com/#agents=mobile&feat=namevalue-storage,offline-apps,websockets,webworkers

或者一切: http://caniuse.com/#agents=mobile

这篇关于Android的webkit.WebView和HTML5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-26 17:24