其他介绍材料 (Other Introductory Material)
在阅读了上面的章节后,下面是入门信息,非常实用。(After reading the sections above, the following Getting Started information is also very useful)
核心包 (Core Packages)
这些是基本包在通过Android SDK来编写应用程序,这些包作为原始层,列出的是从最底层到最高层。(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.util
包含一些列底层辅助类,例如特定的容器类,XML辅助工具类等等(contains various low-level utility classes, such as specialized container classes, XML utilities, etc)
android.os
提供基本的操作服务,消息传递和进程进程间通讯IPC(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 android.text.util
提供一套丰富的文本处理工具,支持富文本、输入模式等等(supply a rich set of text processing tools, supporting rich text, input methods, etc)
android.database
包含底层API处理数据库(contains low-level APIs for working with databases)
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
提供标准用户界面元素,lists列表 buttons按钮,layout managers布局管理器等等,构建从View包中(supplies standard user interface elements (lists, buttons, layout managers, etc) built from the view package)
android.app
提供高层应用程序模型,实现使用Activities(provides the high-level application model, implemented using Activities)
其他值得注意的包 (Other Notable Packages)
这些包提供附加指定域也行在Android平台,这些必须在基本的应用程序开发(These packages provide additional domain-specific features of the Android platform. They are not necessary for basic application development.)
android.provider
包含定义变量标准内容提供包含在平台中(contains definitions for various standard content providers included with the platform)
android.telephony
提供API交互和设备的通话栈(provides APIs for interacting with the device's phone stack.)
android.webikit
包含一系列API工作在基于web的内容(includes various APIs for working with web-based content)
|