Getting Started

让我们开始吧!

Welcome to Training for Android developers.

欢迎来到Android开发者训练营。

Here you’ll find sets of lessons within classes that describe how to accomplish a specific task with code samples you can re-use in your app.

在这里你可以发现一系列的课程,这些课程是描述如何完成一些特殊的任务的,并且还附有一些代码例子,你可以把这些代码在你的app程序中复用。

Classes are organized into several groups you can see at the top-level of the left navigation.

你可以看见左边有导航,这些课程就被组织在左边的导航中。

This first group, Getting Started, teaches you the bare essentials for Android app development.

这是第一个组:“让我们开始吧!”,它将教给你关于Android app开发的最基本的东西。

If you’re a new Android app developer, you should complete each of these classes in order:

如果你是一个Android app开发入门人员,你应该按顺序完成所有这些课程。

1.Building Your First App

创建你的第一个App项目

After you’ve installed the Android SDK, start with this class to learn the basics about Android app development.

在你安装好你的Android SDK后,你就可以开始和这节课一起开始学习关于Android app开发的基础啦。

2.Adding the Action Bar

增加一个Action Bar

The action bar is one of the most important design elements you can implement for your app’s activities. Although first introduced with API level 11, you can use the Support Library to include the action bar on devices running Android 2.1 or higher.

Action Bar是你能在你的app活动里实现的最重要的设计元素之一。尽管第一次引进的是API 11,但是你可以使用支持工程包来引进action bar以支持搭载Android 2.1甚至更高的设备。

3.Supporting Different Devices

支持不同的设备

How to build your app with alternative resources that provide an optimized user experience on multiple device form factors using a single APK.

如何创建一个有选择性资源的App,这个App可以提供只用一个APK就可以在多台机器上运行,并且具有非常优化的用户体验。

4.Managing the Activity Lifecycle

管理Activity的生命周期

How Android activities live and die and how to create a seamless user experience by implementing lifecycle callback methods.

Android activitys是何时出生和消亡的,如何通过实现生命周期的回调方法来完成对用户的无缝体验。

5.Building a Dynamic UI with Fragments

通过Fragments建立一个动态的UI

How to build a user interface for your app that is flexible enough to present multiple UI components on large screens and a more constrained set of UI components on smaller screens—essential for building a single APK for both phones and tablets.

如何在你的app上创建一个用户界面:它是足够的灵活,仅用一个APK就可以在手机和平板电脑上运行。在大屏幕呈现多个UI组件,或者在更小的屏幕上展现受限制的UI组件。

6.Saving Data

保存数据

How to save data on the device, whether it’s temporary files, downloaded app assets, user media, structured data, or something else.

如何在你的设备里保存数据:这个数据可能是一个临时文件,下载的app资源,用户多媒体文件,结构型数据或者其他的一些东西。

7.Interacting with Other Apps

和其他App相互作用

How to build a user experience that leverages other apps available on the device to perform advanced user tasks, such as capture a photo or view an address on a map.

如何建立用户体验:通过利用在设备上可获得的其他的app来执行高级用户的任务。比如如何获取一张图片或者在一个地图上获得一个地址。

这是我自己翻译的,如果您发现我哪里翻译的有严重错误,欢迎批评指正。感谢!

Android官方文档翻译 一 Getting Started的更多相关文章

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

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

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

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

  3. Android官方文档翻译 十七 4.1Starting an Activity

    Starting an Activity 开启一个Activity This lesson teaches you to 这节课教给你 Understand the Lifecycle Callbac ...

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

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

  5. Android官方文档翻译 十五 3.3Supporting Different Platform Versions

    Supporting Different Platform Versions 支持不同的平台版本 This lesson teaches you to 这节课教给你 Specify Minimum a ...

  6. Android官方文档翻译 十四 3.2Supporting Different Screens

    Supporting Different Screens 支持不同的屏幕 This lesson teaches you to 这节课教给你 Create Different Layouts 创建不同 ...

  7. Android官方文档翻译 十三 3.1Supporting Different Languages

    Supporting Different Languages 支持不同语言 This class teaches you to 这节课教给你 Create Locale Directories and ...

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

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

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

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

  10. Android官方文档翻译 二 1.Building Your First App

    Building Your First App 创建你的第一个App项目 Dependencies and prerequisites 依赖关系和先决条件 * Android SDK * ADT Pl ...

随机推荐

  1. how2heap学习(一)

    接下来的时间会通过how2heap学习堆的知识,这个系列可能会更新很多篇,因为每天学习到的东西要保证吸收消化,所以一天不会学习很多,但是又想每天记录一下.所以开个系列. first_fit 此题的源码 ...

  2. Python小组作业:基于yolov5的口罩佩戴识别

    Python老师给了三个小组项目:1.自身专业问题 2.人工智能 3.游戏或者小工具 提前告知了,写游戏不好拿高分,小工具又不能展示自己的水平.大一刚来也没碰到什么专业问题,于是经过讨论,决定了做人工 ...

  3. 【cs231n笔记】assignment1之KNN

    k-Nearest Neighbor (kNN) 练习 这篇博文是对cs231n课程assignment1的第一个问题KNN算法的完成,参考了一些网上的博客,不具有什么创造性,以个人学习笔记为目的发布 ...

  4. 小迪安全 Web安全 基础入门 - 第三天 - 抓包&封包&协议&APP&小程序&PC应用&WEB应用

    一.抓包工具 1.Fiddler.Fiddler是一个用于HTTP调试的代理服务器应用程序,能捕获HTTP和HTTPS流量,并将其记录下来供用户查看.它通过使用自签名证书实现中间人攻击来进行日志记录. ...

  5. CF1440A Buy the String 题解

    Content 有 \(t\) 组询问,每组询问给出一个长度为 \(n\) 的 \(0/1\) 串,你可以花 \(h\) 的代价把 \(0\) 修改成 \(1\) 或者把 \(1\) 修改成 \(0\ ...

  6. Add File as a Link on Visual Studio

    https://stackoverflow.com/questions/18963750/add-file-as-a-link-on-visual-studio-debug-vs-publish Ev ...

  7. django报错TypeError at /items/join(), no dict

    今天写Django模板的时候突然发现报了这个错误.stackflow了一下.改了一种dict的表达模式后成功解决. 错误: 报错写法: context = {'blogs': Blog.objects ...

  8. js控制滚动条在最底部位置

    window.scrollTo(0, document.body.scrollHeight) 如果需要始终保持在最底部,可以循环调用该方法 如果是div的 /*滚动条到地步*/ function to ...

  9. linux 设备文件的操作

    文件:包含数据,具有属性,通过目录中的名字被标识, 可以从文件读数据,可以向文件写数据. 设备也支持文件的操作. 每个设备都被当作一个文件,具有文件名,i-节点号,文件所有者,权限位的集合,最新修改时 ...

  10. 【LeetCode】981. Time Based Key-Value Store 解题报告(Python)

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