一.============ 2.1API 新特性 ===================
1.Revisions:
Requires SDK Tools r6 or higher.
- Adds support for library projects in the Ant build system.
- Adds improved layout rendering in ADT’s visual layout editor
动态壁纸.
The following additions provide APIs for you to develop animated wallpapers:
- New
android.service.wallpaper
package. - New
WallpaperInfo
class. - Updated
WallpaperManager
.
- New
Add <uses-feature android:name="android.software.live_wallpaper" /> to appliction manifest.xml .
Telephony
- New
SignalStrength
class provides information about the device's current network signal. This can be acquired from the newonSignalStrengthsChanged(SignalStrength)
callback.- New
onDataConnectionStateChanged(int, int)
callback.
Views
- New
View
methodsisOpaque()
andonDrawScrollBars(Canvas)
.- New
RemoteViews
methodsaddView(int, RemoteViews)
andremoveAllViews(int)
.- New
ViewGroup
methodsisChildrenDrawingOrderEnabled()
andsetChildrenDrawingOrderEnabled(boolean)
.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