设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 开源资讯 Google 查看内容

Android 4.0浏览器对HTML5的支持情况

2011-10-21 11:16| 发布者: joejoe0332| 查看: 3018| 评论: 0|原作者: 开源中国社区|来自: 开源中国社区

摘要:   Android 4.0 刚刚发布没多久,我已经迫不及待想打开模拟器看看该版本的浏览器有什么值得激动的以及缺失的。不幸的是, Android 4.0 用的还是 Android 浏览器而不是 Chrome。Google 称 Chrome 将是 Android 以后 ...

  Android 4.0 刚刚发布没多久,我已经迫不及待想打开模拟器看看该版本的浏览器有什么值得激动的以及缺失的。不幸的是, Android 4.0 用的还是 Android 浏览器而不是 Chrome。Google 称 Chrome 将是 Android 以后的浏览器,但 4.0 还不是时候。

  智能手机和平板的合并

  Android 4.0 合并了智能手机和平板电脑两个版本,因此智能手机直接从 2.3 版本跳到 4.0 ,因此也就包含了 3.x 中浏览器的特性:

  • SVG
  • 运动传感器 API (加速度计和陀螺仪)
  • CSS3 的三维转换效果
  • XHR 2 & CORS
  • File API
  • HTML 媒体捕获 API,用于摄像头和麦克风
  • 二进制数组 (Int16Array, Float32Array, etc.)

  Android 4.0 依然缺失的特性

  不行的是 Android 还是缺失了一些在 Chrome 和 iOS5 上已经有的特性,包括:

  • No Server-sent events (BTW, does anybody use it?)
  • No WebSockets
  • No WebWorkers
  • No IndexedDB
  • No Web Notifications (that is a real shame for this platform – Firefox on Android is doing it-)
  • No WebGL
  • No History Management API
  • No rich input controls!

  新成员

  • Navigation Timing API, same API in IE9 on Windows Phone and in Firefox 7 for Android
  • 全新的控制台 API, 但似乎有些问题,例如 console.memory.usedJSHeapSize 和 console.memory.totalJSHeapSize属性以及一些新的函数无法工作
  • The HTML5 <keygen> new form is available
  • 支持基本的 MathML

  New things to know

  该浏览器提供了一些新的用户特性,可改变网站的工作方式:

  • 新的未命名 Tab
  • New “Labs” section where the user can add full-screen webapp support on the browser and some gestures over the browser (similar to Firefox for Android)
  • New “Request Desktop site” feature that I’m not sure exactly everything it does, but it changes the User Agent at least.

  性能

  Android 浏览器问题多多,特别是在性能方面。而 Google 在其官方文档中强调 4.0 的浏览器使用更新的 V8 JavaScript 引擎,因此速度快多了,新引擎将有 35-550%的性能提升。

  英文出处:http://mobile.dzone.com/news/overview-html5-support-android


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部