主页>android移植> 正文
android 0.9移植到android 1.0
发布时间:2008-09-24
作者:android开发网原创
作为最终版本的android 1.0 sdk可能未来不会有太大的api变化,如何将自己现有的0.9 sdk移植到android 1.0上呢?下面是总结出主要的api改变。本次变化我们发现并没有传说中的bluetooth api加入,目前的蓝牙功能仅仅可连接蓝牙耳机,不具备完整的蓝牙栈。
content provider 内容提供
settings.system包含各种新的wi-fi状态设置存储 (settings.system includes various new settings for storing wi-fi states. )
device hardware 设备硬件
camera包含了一个新的接口名为camera.shuttercallback来接收提示信息从拍照后 (camera includes a new inteface camera.shuttercallback for receiving notification that the shutter closed after taking a picture. )
一些新的字段添加到sensormanager .(several new fields were added in sensormanager . )
maps 地图类
itemizedoverlay类添加新的方法到overlays管理类 (itemizedoverlay adds new methods for managing overlays.)
类mylocationoverlay天就爱一个新方法决定是否显示mapview和接收感应提示消息当发生改变时(class mylocationoverlay adds new methods to determine whether compass is displayed on the mapview and to receive notification of sensor accuracy change. )
media 媒体类
新方法载入和解除音乐效果在audiomanager 类(new methods for loading and unloading sound effects in audiomanager .)
类mediametadataretriever不支持这个发行版本(class mediametadataretriever is not supported in this release. )
方法android.media.mediaplayer.getframeat() 不支持在这个发型版本中,android开发网友情提示(method android.media.mediaplayer.getframeat() is not supported in this release. )
network 网络
android.net.wifi包含一些新类保持wi-fi无线唤醒和识别从配对加密的wpa,一些改变的字段和方法在其它类中(android.net.wifi includes new classes for keeping the wi-fi radio awake and recognizing pairwise cyphers for wpa. several changes to fields and methods in other classes. )
org.apache.http.impl package 包含在这个平台上(org.apache.http.impl included in the platform. )
package manager 包管理
删除用户数据和缓存的方法从packagemanger中移除了(methods for deleting user data and cache were removed from packagemanager. )
text input 文本输入
textkeylistener新增一个release()方法(textkeylistener adds a release() method. )
test 测试
new classes and interfaces to android.test, for setting up a test environment including instrumentation, unit tests, and test suites.
adds junit.runner package
adds android.test.mock package with utility classes for providing stubs or mocks of various android framework building blocks.
adds android.test.suitebuilder package with utility classes fro supporting test runner classes.
views 视图
添加一些新的xml属性从视图对象(adds several new xml attributes for view objects).
添加音效支持(adds support for sound effects.)
你现在能监听改变从确切的感应中(you can now listen for changes in the accuracy of sensors. )
webview新增一个新的传输对象移动带webview交叉进程集中(webview adds a new transport object for moving a webview across process boundaries. )
webview添加一个管理滚动条的方法(webview adds methods for managing scrollbar overlays.)
xml xml解析
org.xmlpull.v1在当前平台有效(org.xmlpull.v1 available in the platform.)
widgets (小固件)
verifydrawable (drawable ) 方法探测访问权限从公共改为保护,其他一些小幅改动(verifydrawable (drawable ) scope changed from public to protected.other minor widget changes)
详细的改进报告在
http://code.google.com/android/migrating/0.9-1.0/changes.html
本文转载至: http://www.android123.com.cn/androidyizhi/118.html
推荐文章:
android学习每日一例
android模拟器联网问题解决记录
有人在mac os x 10.6 snow leopard下compiling android source成功的么
在android应用中检查网络是否连接了
gridview问题~
推荐一个android应用的统计分析工具
急急急。。。请教各位大虾: 关于2.1添加阿拉伯,希伯来
support for additional screen resolutions and densities in android
编译源码出错,遇到过的大哥 给点指导javalib.jar
问个关于apidemo里touchpaint的问题
归来----android app--jni--hal 基于manager的hal设计
第一次使用缩放图片时要注意的一点
如何在service中调用startmanagingcursor()?
编译源码出现的问题couldn't find import for class(结贴)
drawbitmapmesh()一点见解
android开发论坛
棒槌网@Android相关文章推荐:
Android 0.9移植到Android 1.0
Android移植之0.9 SDK API改变叙述
Android移植之MapView的改变在0.9 SDK
老版SDK升级到Android 1.0时的移植
Android手机助手 魔乐手机管家1.0测试版
Android 2.0 源码发布,已经成功移植到 HTC Dream G1
华人软件工程师移植Android系统入驻上网本