Android重要包的描述

Posted on 2012-12-28 17:48  木月天空  阅读(148)  评论(0编辑  收藏  举报

android.app            :提供高层的程序模型、提供基本的运行环境
android.content      :包含各种的对设备上的数据进行访问和发布的类
android.database    :通过内容提供者浏览和操作数据库
android.graphics     :底层的图形库,包含画布,颜色过滤,点,矩形,可以将他们直接绘制到屏幕上.
android.location      :定位和相关服务的类
android.media         :提供一些类管理多种音频、视频的媒体接口
android.net            :提供帮助网络访问的类,超过通常的java.net.* 接口
android.os             :提供了系统服务、消息传输、IPC 机制
android.opengl       :提供OpenGL 的工具
android.provider     :提供类访问Android 的内容提供者
android.telephony   :提供与拨打电话相关的API 交互
android.view           :提供基础的用户界面接口框架
android.util             :涉及工具性的方法,例如时间日期的操作
android.webkit        :默认浏览器操作接口
android.widget        :包含各种UI 元素(大部分是可见的)在应用程序的屏幕中使用

=====================================================

http://developer.android.com 的说明:

android.app.ActivityAn activity is a single, focused thing that the user can do. 
 
android.app.ServiceA Service is an application component representing either an application's desire to perform a longer-running operation while not interacting with the user or to supply functionality for other applications to use. 
 
android.content.BroadcastReceiverBase class for code that will receive intents sent by sendBroadcast(). 
 
android.content.ContentProviderContent providers are one of the primary building blocks of Android applications, providing content to applications.