Welcome 微信登录

首页 / 操作系统 / Linux / HTML5在Android iOS等移动平台上的兼容性

最近尝试将做的一个Android项目web化,而其中的一个方案,就是做成html5的。于是做了一些Demo,也做了一些简单的研究。其中一个比较重要的问题,就是HTML5在Android和IOS的兼容性如何。找到下面的表格,很好的解答了我的问题。与看到这篇博文的好友一起分享。
FeatureSafari on iOSAndroid BrowserBlackBerry BrowserNokia BrowserInternet ExplorerOperaFirefoxwebOS Browser
Version testediPhone, iPadPhones 
(1-2.3, 4.0)
Tablets (3.0+)PhonesTabletMeego - Nokia N9SymbianWindows PhoneMobileMiniAndroid 
Minimum version tested3.21.53.05.01.01.2^3911561.4

Application Cache

W3C API

Offline package installation.

2.1+

6.0+
   

Web storage

W3C API

Persistent and session storage.

2.0+

6.0+
  

Web SQL storage

W3C API (no active)

Persistent SQLite storage.

2.0+

6.0+
    

Geolocation

W3C API

Geolocation & tracking using GPS, cells or Wi-Fi.

2.0+

6.0+
  

Multimedia

W3C API

Video & Audio Players

2.3+

7.0+
  

Server-Sent Events

W3C API

EventSource pattern to mantain the connection to the server open

4.1+
        

Web Sockets

W3C API

Newbidireccional protocol over HTTP

4.2+
  
6.1+
    
7+
 
FeatureSafari on iOSAndroid BrowserBlackBerry BrowserNokia BrowserInternet ExplorerOperaFirefoxwebOS Browser
Version testediPhone, iPadPhones (1.0-2.3)Tablets (3.0+)PhonesTabletMeego - Nokia N9SymbianWindows PhoneMobileMiniAndroid 

Web Workers

W3C API

Threading and background process communications

5.0+
  
6.0+
    

Canvas API

W3C API

2D Drawing API

Anna+

SVG

W3C Working Group

Scalable Vector Graphics

4.0+
 

Motion Sensors

W3C Standard

Accelerometer, Gyroscope, Magnetometer

4.2

4.0+
      
moz (custom)
 

HTML5 Form Virtual Keyboards

W3C Standard

Text Inputs with different keyboards
  
Anna+
  

HTML5 Form New Controls

W3C API

At least: Date, Time, Month, Range

5.0+
        

Touch Events

W3C API

touchstart, touchend, touchmove, touchcancel

2.1+

6.1+
  
(android)
  
FeatureSafari on iOSAndroid BrowserBlackBerry BrowserNokia BrowserInternet ExplorerOperaFirefoxwebOS Browser
Version testediPhone, iPadPhones (1.0-2.3)Tablets (3.0+)PhonesTabletMeego - Nokia N9SymbianWindows PhoneMobileMiniAndroid 

CSS 3 Basic

W3C Standard

opacity, backgrounds, text effects, rounded corners

6.0

Anna+

partial

CSS 3 Transforms 2D

W3C Standard

rotate, translate, scale, skew, matrix

2.0+

6.0

Anna+

partial

CSS 3 Transforms 3D

W3C Standard

scale3d, translate3d. Perspective, Backface

4.0+
       

CSS 3 Transitions

W3C Standard

Animations between two states

2.0+

6.0

Anna+
  

CSS 3 Animations

W3C Standard

Animations with keyframes

2.0+

6.0

Anna+
   

Viewport definition

W3C API

Meta tag support.
版权所有©石家庄振强科技有限公司2024 冀ICP备08103738号-5 网站地图