Android新手入门 (Getting Started with Android)
2010-05-27 03:47:00 来源:WEB开发网在阅读了上面的章节后,下面是入门信息,非常实用。(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,
更多精彩
赞助商链接