# Android Cupcake（纸杯蛋糕）

**Android Cupcake**是Android 1.5的甜品代号，这是Android移动操作系统的第三个版本，也是首个采用按字母顺序排列的甜点代号命名的版本——此后Android的每个版本都沿用了这一传统。该版本随API级别3和首个Android NDK版本一同发布，于2009年4月13日通过早期预览版SDK向开发者公布，并从2009年5月起通过空中推送到达T-Mobile G1等手机。<sup>[1](https://android.googlesource.com/platform/docs/source.android.com/%2B/80f89c32be43ae8894d1a227e38d23c222ce8a62/src/source/build-numbers.md)</sup><sup> • </sup><sup>[2](https://android-developers.googleblog.com/2009/04/getting-ready-for-android-15.html)</sup><sup> • </sup><sup>[3](https://spot.pcc.edu/~mgoodman/developer.android.com/about/versions/android-1.5.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 版本与API级别 | Android 1.5，API级别3，NDK 1<sup>[1](https://android.googlesource.com/platform/docs/source.android.com/%2B/80f89c32be43ae8894d1a227e38d23c222ce8a62/src/source/build-numbers.md)</sup> |
| 代号由来 | 甜品命名系列中首个按字母顺序排列的Android代号版本<sup>[1](https://android.googlesource.com/platform/docs/source.android.com/%2B/80f89c32be43ae8894d1a227e38d23c222ce8a62/src/source/build-numbers.md)</sup> |
| SDK时间线 | 早期预览版SDK 2009年4月13日；Android 1.5 SDK第1版2009年4月27日<sup>[2](https://android-developers.googleblog.com/2009/04/getting-ready-for-android-15.html)</sup><sup> • </sup><sup>[4](https://android-developers.googleblog.com/2009/04/android-15-is-here.html)</sup> |
| 设备可用性 | 2009年5月起可部署至Android手机；T-Mobile G1更新在美国和英国通过空中推送发布<sup>[3](https://spot.pcc.edu/~mgoodman/developer.android.com/about/versions/android-1.5.html)</sup><sup> • </sup><sup>[5](https://www.phonesreview.co.uk/2009/05/01/android-cupcake-update-rolling-out-in-us-and-uk/)</sup> |
| 主要功能 | 屏幕软键盘、主屏幕小部件、实时文件夹、语音识别、视频录制与播放<sup>[2](https://android-developers.googleblog.com/2009/04/getting-ready-for-android-15.html)</sup><sup> • </sup><sup>[6](https://www.osattack.com/smartphones/google-android/android-15-cupcake-release-notes-with-video/)</sup> |
| Linux内核 | 2.6.27<sup>[7](https://www.emacinc.com/sites/default/files/lft_pub_growth_of_android.pdf)</sup> |

## 命名与在版本序列中的位置

Android的开发围绕一系列版本家族展开，其代号按字母顺序以美食甜点依次排列。在这一序列中，未命名的Android 1.0和Android 1.1排在Cupcake之前，Cupcake之后是Donut（甜甜圈，1.6）、Eclair（闪电泡芙，2.0）以及后续名称。<sup>[1](https://android.googlesource.com/platform/docs/source.android.com/%2B/80f89c32be43ae8894d1a227e38d23c222ce8a62/src/source/build-numbers.md)</sup>谷歌自己的回顾将Android 1.0描述为过于早期、尚未以甜品命名的版本，因此Cupcake是首个获得命名的版本。<sup>[8](https://blog.google/products-and-platforms/platforms/android/celebrating-sweet-decade-android/)</sup>

Cupcake还引入了构建版本标识方式的改变：从此版本开始，各个构建版本带有简短的构建代码，如FRF85B，其中首字母即该版本家族的代号。<sup>[1](https://android.googlesource.com/platform/docs/source.android.com/%2B/80f89c32be43ae8894d1a227e38d23c222ce8a62/src/source/build-numbers.md)</sup>在Android源码树中，该版本记录为版本代码CUPCAKE，整数值为3。<sup>[9](https://android.googlesource.com/platform/frameworks/base/%2B/0bd7762/core/java/android/os/Build.java)</sup>

## 发布时间线

2009年4月13日，Android开发者博客宣布了版本1.5的早期预览版SDK，基于Android开源项目的cupcake分支。文章指出大部分API已确定，但部分仍可能变动，并提醒开发者不要发布基于早期预览版SDK构建的应用，因为最终版SDK将于月底前后发布。<sup>[2](https://android-developers.googleblog.com/2009/04/getting-ready-for-android-15.html)</sup>同一篇文章还描述了SDK的结构性变化：未来版本将在一次安装中包含多个平台版本，因此单个SDK可面向多个Android版本，同时Google Maps API移入单独的Google APIs附加组件。<sup>[2](https://android-developers.googleblog.com/2009/04/getting-ready-for-android-15.html)</sup>

最终的Android 1.5 SDK第1版于2009年4月27日发布，同时发布的还有HTC系统镜像，可将Android Dev Phone 1（ADP1）升级至与SDK系统镜像匹配的Cupcake构建版本。<sup>[4](https://android-developers.googleblog.com/2009/04/android-15-is-here.html)</sup>平台文档将Android 1.5描述为一次重大平台发布，从2009年5月起可部署至手机。<sup>[3](https://spot.pcc.edu/~mgoodman/developer.android.com/about/versions/android-1.5.html)</sup>T-Mobile于2009年5月初开始在英国和美国向G1用户推送空中更新，推送持续了整月；T-Mobile美国的推送推迟了几天，该公司估计所有美国G1用户将在6月初前收到更新。<sup>[5](https://www.phonesreview.co.uk/2009/05/01/android-cupcake-update-rolling-out-in-us-and-uk/)</sup><sup> • </sup><sup>[10](https://www.engadget.com/2009-05-22-t-mobile-usa-starts-pushing-android-1-5-to-g1-owners.html)</sup>

## 用户功能

最具影响的新增功能是屏幕软键盘，支持竖屏和横屏两种方向，通过新的输入法框架支持用户安装第三方键盘，并包含自定义词汇的用户词典以及自动纠正和词汇建议功能。<sup>[6](https://www.osattack.com/smartphones/google-android/android-15-cupcake-release-notes-with-video/)</sup><sup> • </sup><sup>[11](https://techcrunch.com/2009/03/31/ctia09-hands-on-with-the-latest-build-of-the-android-cupcake-firmware/)</sup>谷歌后来认为，这一功能为无需物理键盘的全触屏Android设备打开了大门。<sup>[8](https://blog.google/products-and-platforms/platforms/android/celebrating-sweet-decade-android/)</sup>

主屏幕新增了小部件和实时文件夹。内置小部件包括模拟时钟、日历、音乐播放器、相框和搜索，谷歌的回顾称主屏幕应用小部件与应用文件夹一样，是至今仍在使用的标志性功能。<sup>[6](https://www.osattack.com/smartphones/google-android/android-15-cupcake-release-notes-with-video/)</sup><sup> • </sup><sup>[8](https://blog.google/products-and-platforms/platforms/android/celebrating-sweet-decade-android/)</sup>

媒体与连接功能有明显变化。Cupcake新增了MPEG-4和3GP格式的视频录制与播放、一键上传视频至YouTube、通过A2DP和AVRCP协议规范实现立体声蓝牙并支持自动配对，以及原始音频录制与播放API。<sup>[6](https://www.osattack.com/smartphones/google-android/android-15-cupcake-release-notes-with-video/)</sup><sup> • </sup><sup>[5](https://www.phonesreview.co.uk/2009/05/01/android-cupcake-update-rolling-out-in-us-and-uk/)</sup>浏览器更新至较新的WebKit引擎，搭载Squirrelfish JavaScript引擎，新增复制粘贴和页面内搜索功能，音乐播放器在通话打断后会将播放音量逐渐恢复。<sup>[6](https://www.osattack.com/smartphones/google-android/android-15-cupcake-release-notes-with-video/)</sup><sup> • </sup><sup>[12](https://www.informationweek.com/software-services/google-phone-update-android-1-5-cupcake-reviewed)</sup>较小的改进包括利用加速度计自动旋转屏幕、屏幕切换动画，以及可从应用访问的语音识别。<sup>[2](https://android-developers.googleblog.com/2009/04/getting-ready-for-android-15.html)</sup><sup> • </sup><sup>[13](https://the-gadgeteer.com/2009/05/28/the-icing-on-the-cupcake-android-update-for-the-g1/)</sup>

## 面向开发者的变化

API级别3的框架API变化涵盖多个新子系统：用于安全主屏幕小部件的AppWidget框架及填充实时文件夹的API；带文本预测引擎和可下载输入法的输入法服务框架；3GP格式的视频录制API和媒体分享意图；通过意图访问的语音识别框架；以及SlidingDrawer和HorizontalScrollView等UI新增组件，外加一个便于后台与UI线程交互的框架。<sup>[3](https://spot.pcc.edu/~mgoodman/developer.android.com/about/versions/android-1.5.html)</sup>应用还可通过新的`<uses-configuration>`清单元素声明硬件要求，系统在允许安装前会进行检查，例如要求物理键盘或轨迹球。<sup>[3](https://spot.pcc.edu/~mgoodman/developer.android.com/about/versions/android-1.5.html)</sup>

该版本还带来了兼容性警告。谷歌报告称已在Android Market中广泛测试热门应用，发现少数应用使用了不良技术，可能导致其在Android 1.5上崩溃或行为异常，例如使用内部API、过于复杂的布局和错误的硬件假设；谷歌发布了五项应避免的事项清单，并请面向Android 1.0或1.1的开发者在1.5更新到达手机前予以注意。<sup>[14](https://techcrunch.com/2009/04/23/tighten-up-those-apps-or-android-15-may-break-them/)</sup><sup> • </sup><sup>[17](https://android-developers.googleblog.com/2009/04/future-proofing-your-apps.html)</sup>

## G1上的反响

对于T-Mobile G1——其此前唯一的文字输入方式是滑出式物理键盘——评测者将软件键盘视为最突出的变化；《InformationWeek》的评测称其为重大升级，并指出空中更新本身下载和安装约需一分钟。<sup>[12](https://www.informationweek.com/software-services/google-phone-update-android-1-5-cupcake-reviewed)</sup>在CTIA 2009上对预发布版本的实机体验报道重点介绍了自动纠正行为——它在输入框上方高亮显示预期词汇，并提供较少见的替代选项作为建议——以及虚拟键盘上的表情键，短按输入标准笑脸，长按打开完整表情集。<sup>[11](https://techcrunch.com/2009/03/31/ctia09-hands-on-with-the-latest-build-of-the-android-cupcake-firmware/)</sup>安装更新的用户还注意到一些小的界面改进，如来电屏幕上的[蓝牙](https://www.edgepedia.org/zh/bluetooth)指示器，以及重新设计的通话记录，可打开联系人卡片，同时仍可一键拨打记录中的号码。<sup>[13](https://the-gadgeteer.com/2009/05/28/the-icing-on-the-cupcake-android-update-for-the-g1/)</sup>

## 后续意义

Cupcake确立了两项比该版本本身更持久的惯例：此后每个Android版本家族都使用的按字母顺序排列的甜品代号，以及标识家族内各个构建版本的简短构建代码。<sup>[1](https://android.googlesource.com/platform/docs/source.android.com/%2B/80f89c32be43ae8894d1a227e38d23c222ce8a62/src/source/build-numbers.md)</sup>其API级别3也成为平台兼容机制中的历史标记，出现在`<uses-sdk>`文档和谷歌的版本分布仪表板中——在那些仪表板记录之时，Android 1.5的份额已降至设备的0.1%。<sup>[15](https://developer.android.com/guide/topics/manifest/uses-sdk-element?authuser=11)</sup><sup> • </sup><sup>[16](https://android.googlesource.com/platform/frameworks/base/%2B/844884d82e1b2339cdbf43f64445c5d550c4691c%5E2..844884d82e1b2339cdbf43f64445c5d550c4691c/)</sup>

## References

1. [Codenames, Tags, and Build Numbers, Android Open Source Project](https://android.googlesource.com/platform/docs/source.android.com/%2B/80f89c32be43ae8894d1a227e38d23c222ce8a62/src/source/build-numbers.md)
2. [Getting ready for Android 1.5, Android Developers Blog, 13 April 2009](https://android-developers.googleblog.com/2009/04/getting-ready-for-android-15.html)
3. [Android 1.5 Platform, Android Developers](https://spot.pcc.edu/~mgoodman/developer.android.com/about/versions/android-1.5.html)
4. [Android 1.5 is here!, Android Developers Blog, 27 April 2009](https://android-developers.googleblog.com/2009/04/android-15-is-here.html)
5. [Android Cupcake update rolling out in US and UK, Phones Review, 1 May 2009](https://www.phonesreview.co.uk/2009/05/01/android-cupcake-update-rolling-out-in-us-and-uk/)
6. [Android 1.5 Cupcake Release Notes with Video, OS Attack](https://www.osattack.com/smartphones/google-android/android-15-cupcake-release-notes-with-video/)
7. [The Growth of Android, EMA Inc.](https://www.emacinc.com/sites/default/files/lft_pub_growth_of_android.pdf)
8. [Celebrating a Sweet Decade of Android, Google blog](https://blog.google/products-and-platforms/platforms/android/celebrating-sweet-decade-android/)
9. [Build.java, platform/frameworks/base, Android Open Source Project](https://android.googlesource.com/platform/frameworks/base/%2B/0bd7762/core/java/android/os/Build.java)
10. [T-Mobile USA starts pushing Android 1.5 to G1 owners, Engadget, 22 May 2009](https://www.engadget.com/2009-05-22-t-mobile-usa-starts-pushing-android-1-5-to-g1-owners.html)
11. [CTIA09: Hands-on with the latest build of the Android "Cupcake" firmware, TechCrunch, 31 March 2009](https://techcrunch.com/2009/03/31/ctia09-hands-on-with-the-latest-build-of-the-android-cupcake-firmware/)
12. [Google Phone Update: Android 1.5 'Cupcake' Reviewed, InformationWeek, 2 June 2009](https://www.informationweek.com/software-services/google-phone-update-android-1-5-cupcake-reviewed)
13. [The Icing on the Cupcake: Android Update for the G1, The Gadgeteer, 28 May 2009](https://the-gadgeteer.com/2009/05/28/the-icing-on-the-cupcake-android-update-for-the-g1/)
14. [Tighten Up Those Apps Or Android 1.5 "Cupcake" May Break Them, TechCrunch, 23 April 2009](https://techcrunch.com/2009/04/23/tighten-up-those-apps-or-android-15-may-break-them/)
15. [<uses-sdk> element, Android Developers](https://developer.android.com/guide/topics/manifest/uses-sdk-element?authuser=11)
16. [Version distribution dashboard diff, platform/frameworks/base, Android Open Source Project](https://android.googlesource.com/platform/frameworks/base/%2B/844884d82e1b2339cdbf43f64445c5d550c4691c%5E2..844884d82e1b2339cdbf43f64445c5d550c4691c/)
17. [Future-Proofing Your Apps](https://android-developers.googleblog.com/2009/04/future-proofing-your-apps.html)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › Operating systems › Unix-like and Linux › Android and mobile variants

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/android-cupcake

English original: https://www.edgepedia.org/android-cupcake
