Android 各API包功能介绍

来源:互联网 发布:php开发实战1200例 编辑:程序博客网 时间:2024/06/05 01:58

android.util

  包含一些列底层辅助类,例如特定的容器类,XML辅助工具类等等(contains various low-level utilityclasses, 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 variousservices for accessing data on the device: applications installed onthe device and their associated resources, and content providers forpersistent dynamic data.)

  android.view

  核心用户界面框架(is the core user-interface framework)

  android.widget

  提供标准用户界面元素,lists列表 buttons按钮,layoutmanagers布局管理器等等,构建从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 provideadditional domain-specific features of the Android platform. They arenot 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) 

原创粉丝点击