Building Your First App

创建你的第一个App项目

Dependencies and prerequisites

依赖关系和先决条件

* Android SDK
* ADT Plugin 22.6.2 or higher (if you're using Eclipse)

*Android SDK

*ADT 插件 22.6.2或者更高(如果你使用Eclipse的话)

Welcome to Android application development!

欢迎来到Android应用程序开发!

This class teaches you how to build your first Android app.

这节课程将教你如何创建你的第一个Android App项目。

You’ll learn how to create an Android project and run a debuggable version of the app.

你将学会如何创建一个Android项目并且运行一个app的可调试等级。

You’ll also learn some fundamentals of Android app design, including how to build a simple user interface and handle user input.

你也可以学会Android app设计的一些基本原理,包括入伙创建一个简单的用户界面和处理用户的输入。

Before you start this class, be sure you have your development environment set up. You need to:

在你开始这节课程前,请确保你已经配置好了你的开发环境,为此你需要做以下事情:

1. Download the Android SDK.
2. Install the ADT plugin for Eclipse (if you’ll use the Eclipse IDE).
3. Download the latest SDK tools and platforms using the SDK Manager.

1.下载Android SDK

2.安装eclipse的ADT插件(如果你使用Eclipse IDE的话)

3.使用SDK管理器下载最新的SDK工具集合和开发平台

Note: Make sure you install the most recent versions of the ADT plugin and the Android SDK before you start this class. The procedures described in this class may not apply to earlier versions.

注意:请确保在你开始这节课前安装了最新的ADT插件和Android SDK。这节课里描述的课程可能不适用于以前等级的ADT插件和Android SDK。

If you haven’t already done these tasks, start by downloading the Android SDK and following the install steps. Once you’ve finished the setup, you’re ready to begin this class.

如果你早已经完成了这些任务,请根据安装步骤开始下载Android SDK。一旦已完成了这些设置,你就可以准备开始这节课程了。

This class uses a tutorial format that incrementally builds a small Android app that teaches you some fundamental concepts about Android development, so it’s important that you follow each step.

这节课使用一个教程格式:循序渐进的创建一个小的Android App项目,以教会你一些关于Android开发的基础概念,因此它很重要,请按照每个步骤进行下去。

Start the first lesson ›

开始第一节课吧

Except as noted, this content is licensed under Creative Commons Attribution 2.5. For details and restrictions, see the Content License.

除非另有声明,这些内容是基于创作共用署名2.5许可的。参照内容许可可获得详细信息。

这是本人自己翻译的,如果您发现其中有重大翻译错误,敬请批评指正。感谢!

Android官方文档翻译 二 1.Building Your First App的更多相关文章

  1. android官方文档翻译(不断更新中。。。)

    最近在自学android,抽空把官方文档的guide跟training差不多看了一遍,又对比了一些书籍,感觉还是官方文档讲得比较好,所以自己计划把官方文档翻译一下,方便自己的知识巩固以及复习查找,由于 ...

  2. Android官方文档翻译 三 1.1Creating an Android Project

    Creating an Android Project 创建一个Android项目 An Android project contains all the files that comprise th ...

  3. Android官方文档翻译 一 Getting Started

    Getting Started 让我们开始吧! Welcome to Training for Android developers. 欢迎来到Android开发者训练营. Here you'll f ...

  4. Android官方文档翻译 四 1.2Running Your App

    Running Your App If you followed the previous lesson to create an Android project, it includes a def ...

  5. Android官方文档翻译 十二 3.Supporting Different Devices

    Supporting Different Devices 支持不同设备 Dependencies and prerequisites 依赖关系和先决条件 Android 1.6 or higher A ...

  6. Android官方文档翻译 九 2.2Adding Action Buttons

    Adding Action Buttons 增加动作按钮 This lesson teaches you to 这节课教给你 Specify the Actions in XML 在XML中指定动作 ...

  7. Android官方文档翻译 五 1.3Building a Simple User Interface

    Building a Simple User Interface 创建一个简单的用户界面 This lesson teaches you to 这节课将教给你: Create a Linear Lay ...

  8. Android官方文档翻译 十六 4.Managing the Activity Lifecycle

    Managing the Activity Lifecycle 管理activity的生命周期 Dependencies and prerequisites 依赖关系和先决条件 How to crea ...

  9. Orchard官方文档翻译(二) 安装 Orchard

    原文地址:http://docs.orchardproject.net/Documentation/Installing-Orchard 想要查看文档目录请用力点击这里 最近想要学习了解orchard ...

随机推荐

  1. [BUUCTF]PWN——babyfengshui_33c3_2016

    babyfengshui_33c3_2016 附件 步骤: 例行检查,32位程序,开启了cannary和nx 本地运行一下看看大概的情况,熟悉的堆的菜单布局 32位ida载入,看main函数 add ...

  2. 任务日历关联(Project)

    <Project2016 企业项目管理实践>张会斌 董方好 编著 有时候吧,一件大事是由N件小事组成的,而这N件小事当中,不是每件事都可以在周末停下来的,当然也不是所有的事都必须在周末完成 ...

  3. BZOJ 题目乱做

    记录一点在 BZOJ 上做的题. 众所周知原 BZOJ 炸掉了,于是跑去了 HydroOJ 的 BZOJ 域上面做. 目录 P1001 [Beijing2006]狼抓兔子 P1002 [FJOI200 ...

  4. JAVA 通过url下载图片保存到本地

    //java 通过url下载图片保存到本地 public static void download(String urlString, int i) throws Exception { // 构造U ...

  5. IDEA启动报错:Error:java: Compilation failed: internal java compiler error

    检查是否一致

  6. Android 运行C可执行程序

    p.p1 { margin: 0; font: 12px "Helvetica Neue"; color: rgba(69, 69, 69, 1) } p.p2 { margin: ...

  7. nim_duilib(6)之listbox

    introduction 更多控件用法,请参考 here 和 源码. 本文的代码基于这里 本文将演示listbox的添加,删除,删除选中项,添加到指定位置等常用功能. xml文件添加代码 基于上一篇, ...

  8. 【LeetCode】面试题62. 圆圈中最后剩下的数字 解题报告(Python)

    作者: 负雪明烛 id: fuxuemingzhu 个人博客:http://fuxuemingzhu.cn/ 目录 题目描述 题目大意 解题方法 约瑟夫环 日期 题目地址:https://leetco ...

  9. [LeetCode] 729. My Calendar I 731. My Calendar II 732. My Calendar III 题解

    题目描述 MyCalendar主要实现一个功能就是插入指定起始结束时间的事件,对于重合的次数有要求. MyCalendar I要求任意两个事件不能有重叠的部分,如果插入这个事件会导致重合,则插入失败, ...

  10. 【Java例题】3.4求a+aa+aaa+aaaa+... ...+aa...a(n个

    4. package chapter3; import java.util.*; public class demo4 { public static void main(String[] args) ...