Android新手入门 (Getting Started with Android )

新手入门Android,请首先阅读下面的章节 (To get started with Android, please read the following sections first )

安装SDK和插件 (Installing the SDK and Plugin )
如何安装SDK和Eclipse插件以及如何使用其他工具构建Android应用程序,同时根据向导运行示例程序。(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 .)

你好Android (Hello Android )
编写你首个Android程序,经典流行的Hello World,Android风格。(Writing your first Android Application, the ever popular Hello World, Android style )

剖析Android程序 (Anatomy of an Android Application )
结构和Android程序构架说明介绍,通过向导将会帮助你理解编写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程序 (Tutorial: Building a Full Android Application )
入门指导文档将带领你通过构建一个真实的Android应用程序,一个记事本的创建、编辑、删除内容.Android开发网提示涵盖一些基本的概念通过实例。(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 )

开发工具 (Development Tools )
一个命令行工具包含SDK,你想要做的和如何使用(The command line tools included with the SDK, what they do, and how to use them )

Android程序生命周期 (Life Cycle of an Android Application )
程序和Activites内部运行的生命周期(The important life-cycle 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 )

这些是基本包在通过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 )

Wi-Fi APIs

Wi-Fi API提供了让一些程序可以相互通讯在底层无线栈,提供Wi-Fi网络访问,几乎所有信息来自设备请求,包含了连接网络连接速度、IP地址、协商状态等,附加信息有关网络包含能够扫描、添加、保存、结束和初始化连接,Wi-Fi APIs在android.net.wifi这个package中.(The Wi-Fi APIs provide a means by which applications can communicate with the lower-level wireless stack that provides Wi-Fi network access. Almost all information from the device supplicant is available, including the connected network's link speed, IP address, negotiation state, and more, plus information about all other available networks. Some of the available interactions include the ability to scan, add, save, terminate and initiate connections.)The Wi-Fi APIs are in the android.net.wifi package.

Location-Based Services

基于位置服务允许软件获取手机当前未知,它包含了获取全球顶系统卫星集群,但是不仅仅限于这些,举个例子其他的定位系统,Android开发网友情提示LBS服务可能例如MyLocation技术,LBS API在android.location这个package中(Location-Based Services (LBS) allow software to obtain the phone's current location. This includes location obtained from the Global Positioning System (GPS) satellite constellation, but it's not limited to that. For instance, other location-based systems may come online in the future, and as they do, support for them can be added to this API.The Location-Based Services are in the android.location package.)

Media APIs

Media API用于播放媒体文件,它包含了音频(例如MP3和其他音乐文件,也可以作为游戏音乐效果)和视频(例如播放一个下载好的视频从web上)同时也支持播放从一个URI,例如流媒体数据通过网络.有关Media API可以在android.media这个package中找到。(The Media APIs are used to play media files. This includes both audio (such as playing MP3s or other music files, as well as game sound effects) and video (such as playing a video downloaded over the web.) Support is included for "playing URIs" — that is, streaming media data over the network. Technically the Media APIs are not optional since they'll always be present; however there may be differences in the specific sets of supported codecs across devices.The Media APIs are in the android.media package.)

3D Graphics with OpenGL

Android的基础用户界面框架是一个典型的面向组件继承类.它是一个非常高效的3D和3D混合引擎,支持硬件加速.这些API将会用于访问3D能力通过平台的OpenGL ES API.类似Media API,然后一些设备可能不具备硬件加速功能,可以通过软件渲染.这些技术可能表现在你的程序中,OpenGL辅助类在android.opengl这个Package中.(Android's primary user interface framework is a typical widget-oriented class hierarchy. Don't let that fool you, though — sitting underneath that is a very fast 2D and 3D compositing engine, with support for hardware acceleration. The API used to access the 3D capabilities of the platform is the OpenGL ES API. Like the Media APIs, OpenGL is actually not strictly optional, since the API will always be present and will always function. However some devices may not have hardware acceleration, and thus use software rendering, which may affect the performance of your application.The OpenGL utilities are in the android.opengl package)

更多相关文章

  1. Android 编写使用root权限的android应用程序
  2. android监听程序安装、卸载
  3. 读取Android设备的MAC地址
  4. android应用程序设置全屏
  5. android 蓝牙打印程序源代码
  6. android 获取应用程序占用的内存大小
  7. Android应用程序窗口(Activity)的运行上下文环境(Context)的创建过程

随机推荐

  1. 学会java基础能找工作吗?
  2. MySQL系列-InnoDB索引优化AHI、Change bu
  3. MySQL系列-InnoDB核心特性之事务介绍
  4. thinkPHP6框架基础知识
  5. 为什么考华为认证考华为认证有什么用?
  6. 华为认证改名HCNP改为HCIP
  7. 3.15 安装使用外部SQL Server的vCenter S
  8. KubeNode:阿里巴巴云原生容器基础设施运维
  9. IP网络性能测试工具——Renix Perf
  10. 华为认证考试题型分析备考指南