Devel
From Android中文网
目录 |
[编辑] Android应用程序的开发
You can develop Android applications with the same high-quality tools you use to develop Java applications. The Android core libraries provide the functionality needed to build some amazingly rich mobile applications, and the Android development tools make running, debugging, and testing your applications a snap.
你可以使用与以往开发Java应用程序一样的高质量工具来开发Android应用程序。Android的核心库提供了开发丰富多彩的手机应用程序所需要的功能,并且Android的开发工具使得执行,调试以及测试你的应用程序变得更加容易。
This section explains the ins and outs of developing Android applications. It outlines the philosophy behind the system and then describes each of the key subsystems in detail. After reading this section, you'll have the knowledge and confidence to begin writing that real-world Android app you have in mind.
这一节主要解释开发Android应用程序所涉及到的细节问题。我们首先概述了系统背后的体系结构,然后详细描述了每一个关键的子系统。通过阅读这一章,你就能够拥有足够的知识和自信去开始写一个在你脑中的真实的Android的应用程序。
Before reading this section you should read the Getting Started Guide, which helps you get up and running with the Android SDK and shows you how to build a basic app. This section builds on the information in the Getting Started section.
在阅读者一章之前,你应该首先阅读新手上路,它会教你如何开始使用Android SDK并且构建一个基本的应用程序。这一节建立在新手上路中得到的信息的基础之上。
Here's the content you'll find in this section:
在这一节中你将读到以下内容:
Implementing a UI
[编辑] 用户界面
- Explains how to construct and interact with user interfaces for Android applications. After reading this page you'll have a solid understanding of how Android layouts are built, how they operate at runtime, and how you can make them pretty.
- 这一部分解释如何构造一个Android应用程序,并且使用用户结构与之互动。读完这一页,你将会对Android的层次结构是如何组成的有一个立体的理解,你还可以理解到它是如何在运行时操作的,以及你怎样可以是他们看起来更美观。
Building Blocks
[编辑] 构件组成模块
- Detailed descriptions of Android components. Covers the ins and outs of the components summarized in Anatomy of an Android App, plus more. This section goes into detail on each of the key Android components (Intents, Activities, Views, and events.)
- 这一部分详细描述了Android的各个组成部分。内容覆盖了各个部分的细节,并且加上对一个Android应用程序的解剖作为总结。这一节深入探讨了Android的各个关键部分(Internt,Activities,Views,和events)
Storing and Retrieving Data
[编辑] 数据存储与获取
- How to read and write data to the various storage mechanisms provided by Android, and to network services. There are several different ways to read and write data from an Android application, each aimed at different needs. This page describes them all and explains how to pick the right one for your needs.
- 这一部分描述了如何把数据读写到Android提供的各种存储机制上和网络服务上。Android提供了几种不同的方法从应用程序上读写数据,每一种都针对不同的需求。这一页描述了所有的方法并且告诉你如何针对你的不同需求选择正确的方法。
Security Model
[编辑] 安全模型
- Gaining access to secure system resources and features, and declaring permissions to control access to your own secure features. Permissions control whether a given application is able to access piece of functionality provided by another application (for example, which applications can dial the phone). This page describes how permissions work and how to request permissions as well as define your own.
- 这一部分描述了如何访问可靠的系统资源和功能,以及如何声明控制访问你自己的可靠功能的许可。许可机制控制着一个程序是否可以访问另一个应用程序所提供的功能(比如,一个程序是否可以拨电话)。这一页描述了许可机制是如何工作的以及如何请求一个许可和定义一个你自己的许可。
Resources and i18n
[编辑] 资源和国际化
- Detailed descriptions of Android's application-resource management system, including how it's used for internationalization and localization. "Resources" are application assets (such as images, localized strings, and XML layouts) that need to be resolved at runtime. This page describes how Android resolves which resource to load from a selection of them, as well as how to create and use resources.
- 详细描述了Android的应用程序资源管理系统,包括它是如何被用来国际化和本地化的。“资源”是在应用程序运行时需要被解析的程序资产(包括图片,本地化字符串和XML布局)。这一页描述了Android如何解析哪一个资源应该从资源集中被解析出来,以及如何创建和使用资源。
