To get started with Android, please read the following sections first:
要入门Android,请首先阅读下面的章节:
-
Installing the SDK and Plugin
安装SDK和插件
- How to install the SDK and Eclipse plugin, or how to use other tools to build Android applications. Also a guide to running the sample applications.
- 如何安装SDK和Eclipse插件,如何使用其他工具构建Android应用程序。同时也是运行示例应用的指南。 Hello Android! 你好,Android!
- Writing your first Android Application, the ever popular Hello World, Android style.
- 以Android的方式编写你的第一个Android应用:曾经流行的Hello World应用。 Anatomy of an Android Application Android应用程序剖析
- A guide to the structure and architecture of an Android Application. This guide will help you understand the pieces that make up an Android app.
- Android架构指南。该指南将帮助你理解组成Android应用的各个部分。 Tutorial: Building a Full Android Application 教程:构建一个全功能的Android应用程序
- This tutorial document will lead you through constructing a real Android Application: A notepad which can create, edit and delete notes, and covers many of the basic concepts with practical examples.
- 该教程稳定将带领你构建一个真实的Android应用:一个记事本,可以生成,编辑,删除笔记,同时涵盖很多基本概念。 Development Tools 开发工具
- The command line tools included with the SDK, what they do, and how to use them.
- SDK自带的命令行工具,它们能做什么,已经如何使用它们。 Lifecycle of an Android Application Android应用程序生命周期
- The important lifecycle details for Applications and Activities running inside of them.
- 应用程序重要的生命周期细节和运行于其中的活动。
-
Other Introductory Material
-
其他介绍材料
After reading the sections above, the following Getting Started information is also very useful:
-
阅读完上面的部分,下面的入门信息同样有用:
Core Packages
-
核心包
These are the basic packages that make up the Android SDK for writing applications. The packages are organized as layers, listed here from lowest-level to highest.
-
Android SDK由很多基本的包组成,用于开发应用程序。包以分层方式组织,下面从低到高列出。
-
android.util
- contains various low-level utility classes, such as specialized container classes, XML utilities, etc.
- 包含多个底层功能类,如特殊容器类,XML功能类等。 android.os
- provides basic operating system services, message passing, and inter-process communication.
- 提供基本的操作系统服务,消息传递,进程间通信。 android.graphics
- is the core rendering package.
- 核心的展现包。 android.text, android.text.method, android.text.style, and android.text.util
- supply a rich set of text processing tools, supporting rich text, input methods, etc.
- 提供一组丰富的文本处理工具,支持富文本,输入方法等。 android.database
- contains low-level APIs for working with databases.
- 包含底层数据库访问API。 android.content
- provides various services for accessing data on the device: applications installed on the device and their associated resources, and content providers for persistent dynamic data.
- 提供多种访问设备数据的服务:安装在设备上的应用程序,和其相关资源,用于持久化动态数据的数据提供者。 android.view
- is the core user-interface framework.
- 核心的用户界面框架 android.widget
- supplies standard user interface elements (lists, buttons, layout managers, etc) built from the view package.
- 从视图包构造的标准用户界面元素(列表,按钮,布局管理器等) android.app
- provides the high-level application model, implemented using Activities.
- 提供上层应用模型,通过活动实现
Other Notable Packages
-
其他需要注意到包
These packages provide additional domain-specific features of the Android platform. They are not necessary for basic application development.
-
这些包提供Android平台附加的领域相关的特征。对基本应用开发并非必须的。
-
android.provider
- contains definitions for various standard content providers included with the platform.
- 包含平台自带的多种标准内容提供者定义。 android.telephony
- provides APIs for interacting with the device's phone stack.
- 提供访问设备电话协议栈的API。 android.webkit
- includes various APIs for working with web-based content.
- 包含多个与基于Web内容工作的API。