android API 版本升级差异归纳

一.============ 2.1API 新特性 ===================

1.Revisions:

Dependencies:

Requires SDK Tools r6 or higher.

Tools:
  • Adds support for library projects in the Ant build system.
  • Adds improved layout rendering in ADT’s visual layout editor
2.Framework API Changes

动态壁纸.

The following additions provide APIs for you to develop animated wallpapers:

Add <uses-feature android:name="android.software.live_wallpaper" /> to appliction manifest.xml .


Telephony


Views

WebKit

  • New WebStorage methods to manipulate web storage databases.
  • New GeolocationPermissions methods to get Geolocation permissions from, and set them on the WebView.
  • New WebSettings methods to manage settings for app cache, web storage, and zooming based on screen density.
  • New WebChromeClient methods for handling video, browsing history, custom Views, app cache limits, and more

二: ================ android 2.2 新特性 ============================

1.软件安装位置添加属性 AUTO

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.control"
      android:versionCode="1"
      android:versionName="1.0"
      android:installLocation=["auto"|"interalOnly"|"preferExternal" ]>//interalOnly为安装到内存,preferExternal为安装到SD卡.fi


2.match_parent 属性取代  fill_parent.


3.新增程序数据备份至云端功能. extends BackupAgent

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值