分享好友 最新动态首页 最新动态分类 切换频道
Android 2.0.1, Release 1
2024-12-27 05:34
  1. Platform Highlights
  2. Revisions
  3. Built-in Applications
  4. Locales
  5. Emulator Skins
  6. Developer Features
  7. Framework API
    1. API level
    2. API changes summary
    3. Behavior changes
    4. Bug fixes
    5. API differences report »
  1. Exploring the SDK

API Level: 6

Android 2.0.1, Release 1

Android 2.0.1 is a minor platform release deployable to Android-powered handsets starting in December 2009. This release includes minor API changes, bug fixes and framework behavioral changes. For information on changes and fixes, see the Framework API section.

For developers, the Android 2.0.1 platform is available as a downloadable component for the Android SDK. The downloadable platform includes a fully compliant Android library and system image, as well as a set of emulator skins, sample applications, and more. The downloadable platform includes no external libraries.

To get started developing or testing against the Android 2.0.1 platform, use the Android SDK and AVD Manager tool to download the platform into your Android 1.6 or later SDK. For more information, see Exploring the SDK.

For a list of new user features and platform highlights, see the Android 2.0 Platform Highlights document.

The sections below provide notes about successive releases of the Android 2.0.1 platform component for the Android SDK, as denoted by revision number. To determine what revision(s) of the Android 2.0.1 platforms are installed in your SDK environment, refer to the "Installed Packages" listing in the Android SDK and AVD Manager.

The system image included in the downloadable platform provides these built-in applications:

  • Alarm Clock
  • Browser
  • Calculator
  • Camcorder
  • Camera
  • Contacts
  • Custom Locale (developer app)
  • Dev Tools (developer app)
  • Dialer
  • Email
  • Gallery
  • Gestures Builder
  • IME for Japanese text input
  • Messaging
  • Music
  • Settings
  • Spare Parts (developer app)

The Dev Tools app now includes a "Sync Tester" application to provide quick and easy testing of third-party sync adapters.

The system image included in the downloadable platform provides a variety of built-in locales. In some cases, region-specific strings are available for the locales. In other cases, a default version of the language is used. The languages that are available in the Android 2.0.1 system image are listed below (with language_country/region locale descriptor).

  • Chinese, PRC (zh_CN)
  • Chinese, Taiwan (zh_TW)
  • Czech (cs_CZ)
  • Dutch, Netherlands (nl_NL)
  • Dutch, Belgium (nl_BE)
  • English, US (en_US)
  • English, Britain (en_GB)
  • English, Canada (en_CA)
  • English, Australia (en_AU)
  • English, New Zealand (en_NZ)
  • English, Singapore(en_SG)
  • French, France (fr_FR)
  • French, Belgium (fr_BE)
  • French, Canada (fr_CA)
  • French, Switzerland (fr_CH)
  • German, Germany (de_DE)
  • German, Austria (de_AT)
  • German, Switzerland (de_CH)
  • German, Liechtenstein (de_LI)
  • Italian, Italy (it_IT)
  • Italian, Switzerland (it_CH)
  • Japanese (ja_JP)
  • Korean (ko_KR)
  • Polish (pl_PL)
  • Russian (ru_RU)
  • Spanish (es_ES)
  • Localized UI strings match the locales that are accessible through Settings.

    The downloadable platform includes a set of emulator skins that you can use for modeling your application in different screen sizes and resolutions. The emulator skins are:

    • QVGA (240x320, low density, small screen)
    • WQVGA (240x400, low density, normal screen)
    • FWQVGA (240x432, low density, normal screen)
    • HVGA (320x480, medium density, normal screen)
    • WVGA800 (480x800, high density, normal screen)
    • WVGA854 (480x854 high density, normal screen)

    For more information about how to develop an application that displays and functions properly on all Android-powered devices, see Supporting Multiple Screens.

    The sections below provide information about new developer features offered by the downloadable Android 2.0 platform component.

    • Debug- and release-mode application signing. Release-mode signing includes integrated support for optimization. For more information, see Signing Your Applications.
    • Adds new Ant build system with support for Emma instrumentation projects (code coverage).

    The sections below provide information about changes made to the application framework API provided by the Android 2.0.1 platform. Note, however, that Android 2.0.1 is a minor release to Android 2.0, so for more information about the changes made to in Android 2.0, please refer to the Android 2.0 version notes.

    The Android 2.0.1 platform delivers an updated version of the framework API. The Android 2.0.1 API is assigned an integer identifier — 6 — that is stored in the system itself. This identifier, called the "API Level", allows the system to correctly determine whether an application is compatible with the system, prior to installing the application.

    To use APIs introduced in Android 2.0.1 in your application, you need to set the proper value, "6", in the attributes of the element in your application's manifest.

    For more information about how to use API Level, see the API Levels document.

    The following is a summary of changes to the framework APIs.

    • New attributes that let applications apply necessary styles to the widget.
    • Remove support for the broadcast when declared as a filter in the manifest. To receive this broadcast, an application must do so from the application at run-time, with .

    The following is a summary of changes that affect the behavior of some framework APIs but do not add or remove API functionality.

    Bluetooth

    Changes to the values returned by and :

    • now returns if Bluetooth was successfully enabled and if the user rejected the request to enable Bluetooth, rather than 0 and -1 (or -2), respectively.
    • now returns if the user rejected the request to enable discoverability or if Bluetooth is not enabled, rather than -1 and -2, respectively.

    Contacts

    The Intent now returns in cases where the contact was not persisted (for example, if the save was trimmed to a no-op).

    The following is a summary of bug fixes that affect some framework APIs.

    Resources

    The framework now correctly selects application resources in project folders that use the API Level qualifier. For example, is a folder of drawable resources for API Level 4 (or higher) devices. This version matching did not work properly and has been fixed.

    Contacts

    The Intent now returns the appropriate kind of URI when the request is made using the (now deprecated) APIs.

    Other Framework fixes

    • now properly reports the package name, rather than the process name.
    最新文章
    第一批抢跑的人,用Al搞了上千万?
    作者 | 王沁编辑 | 苗正卿虎嗅注:敢赚钱的人,在任何时代都能赚到钱。从下海经商、房地产、外贸、移动互联网,他们追逐一个又一个风口,只不过当下的风口是AI——存量经济下少有的新增量。当很多人对AI无动于衷或者恐惧时,AI淘金者已经冲
    理想作文1500字左右(二十五篇)
    虽然有地话很老土,但是依然有人乐意听。这就是人地心理。相同地话听几百遍也不觉得烦,说话地人也不觉得累。“为你们地理想而奋斗吧”下课铃响起之际老师意味深长地说出这句话。老师每天都会重复这句话,学生也每天都在听。日子暗淡无光,
    极越汽车倒在寒冬里?尚在等一个答案的数千名员工,被堵72小时的CEO夏一平
    截至目前,焦灼的极越员工们仍没有等到CEO夏一平的回复。 此时距离夏一平在公司被围堵过去了72小时,他面临的是数千名员工和众多车主、供应商的声讨。14日早些时间,多名员工告诉时代财经记者,13日晚员工代表和夏一平谈判至10点多,夏一平
    新闻写作基础:新闻的结构
    新闻写作基础:新闻的结构  新闻的结构一般由标题、导语、主体、背景和结尾五部分组成。新闻的内容,通常有时间、地点、人物、事件和结果五个要素。下面是小编为你带来的新闻写作基础:新闻的结构,欢迎阅读。  一、标题  标题是新闻
    精选分解====有六有二望不尽,四二连一等动静,男人买码就不同,十元五元从不出打一准确生肖|词语释义解释落实完整版250.290
    解读生肖与数字的神秘联系——一种独特的文化现象解读本文将围绕关键词“精选分解”、“有六有二望不尽”、“四二连一”等,探讨与之相关的生肖与数字文化,解释其中的含义,并解读男人买码的不同之处以及十元五元从不出所指的生肖,全文将
    食用油项目商业计划书
    权威数据来源一手调研资料调研方法直接观察法(实地走访、网络观察)访谈调查法(个别面访、集体面访、电话访谈、视频访谈、小组座谈)问券调查法(在线问券、电子邮件问券、入户分发等)会议调查法(参加博览会、展览会、高峰论坛、研修会
    引流推广简历模板范文怎么写
    姓名:许芊羽自我介绍:我是一名来自湖北省的应届毕业生,毕业于湖北文理学院,主修市场营销专业。在校期间,我积极参加校园活动,曾担任紫荆志愿者协会会长一职,组织和参与了多项公益活动。通过这些经历,我发现自己热爱团队协作和社交沟
    青岛关键词推广优化攻略,全方位策略揭秘
    青岛关键词推广优化策略全解析,涵盖精准定位、内容优化、数据分析等关键步骤。通过合理布局关键词,提高搜索引擎排名,实现精准营销。注重内容质量,优化用户体验,助力企业提升品牌影响力。随着互联网的快速发展,网络营销已成为企业推广
    豆包Ai登顶国内第一,概念股梳理(名单建议收藏)
    在A股市场,人工智能(AI)题材的热度持续升温,尤其是豆包概念股,在Kimi概念股、智谱概念股之后,成为了市场上的新宠。近日,抖音豆包AI概念全面发酵,中科蓝讯、乐鑫科技、省广集团、天龙集团、掌阅科技等一批字节跳动概念股大幅上涨。多
    相关文章
    推荐文章
    发表评论
    0评