android开发入门

Android is an open source, Linux-based mobile operating system. Android was developed by the Open Handset Alliance, which was lead by Google and featured contributions from many other companies.

Android是基于Linux的开放源代码移动操作系统。 Android由开放手机联盟(Open Handset Alliance)开发,该联盟由Google领导,并获得了许多其他公司的贡献。

Today Android has become the leading Operating System being used in various devices, like mobile phone, tablets, watches, TV, cars and many more. It powers more than a billion devices all over the globe. Android has been the best selling OS on tablets since 2013, and on smartphones it is dominant by any metric.

如今, Android已成为在各种设备(例如手机,平板电脑,手表,电视,汽车等)中使用的领先操作系统。 它为全球超过十亿台设备供电。 自2013年以来,Android一直是平板电脑上最畅销的操作系统,而在智能手机上,Android在所有指标上均占主导地位。

先决条件 (Prerequisites)

For getting started with Android development, you should already know about a few things:

要开始进行Android开发,您应该已经了解以下几件事:

  • Java: Android development is mostly done in Java. It’s not a difficult language to learn, but knowing how it applies to Android development can be confusing without a firm foundation in the language. Android Java is not exactly standard Java, but learning standard Java will make it much easier for you to pick up Android development.

    Java :Android开发大部分是用Java完成的。 这不是一门难学的语言,但是如果没有扎实的语言基础,就知道如何将其应用于Android开发会令人困惑。 Android Java并非完全是标准Java,但是学习标准Java将使您更轻松地进行Android开发。

  • XML: Knowing XML can be useful in a number of tech-related fields and Android is no exception. In particular, XML files make it easier to declare UI elements in the apps you create. Past experience is a big plus.

    XML :了解XML在许多与技术相关的领域中可能很有用,Android也不例外。 特别是,XML文件使在您创建的应用程序中声明UI元素更加容易。 过去的经验是一大优势。

  • Perseverance: Lastly, learning the ins and outs of the Android development toolkit is going to take time. Learning how to create a quality app is going to take even more time. Don’t rush. Keep at it and focus your mind on the long term. If you don’t, you’ll be frustrated and want to give up.毅力:最后,学习Android开发工具包的来龙去脉需要时间。 学习如何创建高质量的应用程序将花费更多时间。 不要着急 坚持下去,集中精力长期发展。 如果不这样做,您会感到沮丧并想要放弃。

工具类 (Tools)

The things you’ll need to start building applications for Android are:

开始构建适用于Android的应用程序所需的功能是:

  • Latest version of the Java JDK

    最新版本的Java JDK

  • Android Studio: Here is the official guide to install Android studio.

    Android Studio : 这是安装Android Studio的官方指南。

  • If possible, an Android device. If you don’t have one, you can use an emulator to run an Android virtual device on your computer.

    如果可能,请使用Android设备。 如果您没有,则可以使用模拟器在计算机上运行Android虚拟设备。

Kotlin语言支持 (Kotlin language support)

Starting with Android Studio 3.0, tooling support for Kotlin is bundled directly into Android Studio. Kotlin is a statically-typed programming language that runs on the Java Virtual Machine and also can be compiled to JavaScript source code.

从Android Studio 3.0开始,对Kotlin的工具支持直接捆绑到Android Studio中。 Kotlin是一种静态类型的编程语言,可以在Java虚拟机上运行,​​也可以编译为JavaScript源代码。

Kotlin is designed to interoperate with Java code and is reliant on Java code from the existing Java Class Library, such as the collections framework. It was designed to be a better object-oriented language than Java, but still be backwards compatible with Java and allow companies to migrate gradually.

Kotlin旨在与Java代码进行互操作,并且依赖于现有Java类库(例如集合框架)中的Java代码。 它被设计为比Java更好的面向对象语言,但仍与Java向后兼容,并允许公司逐步迁移。

Some of the benefits of using Kotlin for Android development include:

使用Kotlin进行Android开发的一些好处包括:

  • Kotlin requires less boilerplate code.Kotlin需要更少的样板代码。
  • Kotlin is a type-safe language .Kotlin是一种类型安全的语言。
  • Kotlin is more expressive than Java.Kotlin比Java更具表现力。

更多信息 (More Information)

  • Official Android Developer Guide

    官方Android开发人员指南

  • What is Mobile App Development?

    什么是移动应用开发?

  • Learn how to develop native Android apps with Kotlin - A Full Course

    了解如何使用Kotlin开发本机Android应用-完整课程

翻译自: https://www.freecodecamp.org/news/getting-started-with-android-development/

android开发入门

android开发入门_Android开发入门相关推荐

  1. android 函数式编程_Android开发人员的函数式编程-第1部分

    android 函数式编程 by Anup Cowkur 通过安纳普·考库(Anup Cowkur) Android开发人员的函数式编程-第1部分 (Functional Programming fo ...

  2. android生命周期_Android开发 View的生命周期结合代码详解

    咱们以TextView控件为例: /** * Created by SunshineBoy on 2020/9/23. */ public class TestTextView extends and ...

  3. android IO流_Android 开发技术周报 Issue#265

    新闻 谷歌打造安卓版"AirDrop":新功能将集成到新版中 [图]Pixel 4a将于5月12日召开I/O 2020开发者大会登场 Google I/O 2020开发者大会将于5 ...

  4. java android 小游戏_Android开发基础知识及小游戏

    学习目的 首次进入Android阶段的学习,首先需要我们掌握Activity(界面),程序的生命周期,界面启动,界面布局.控件 相关技术.及其使用 1.Activity: 管理一个界面从创建到运行结束 ...

  5. android layout 界面开发,步步为营_Android开发课[14]_用户界面之Layout(布局)

    主题:用户界面之Layout(布局) -在Android开发中我们有传说中的5大布局,它们的结合使用,画出了APP界面的条条框框. Android中常用的5大布局: 线性布局(LinearLayout ...

  6. android tv闹钟_Android开发之闹钟

    闹钟开发: 1.需要时间选择器TimePicker 2.需要Calendar类对日期时间进行操作 3.需要AlarmManager//闹钟管理实质是一个全局定时器, 是Android中常用的一种系统级 ...

  7. android java 退出程序_android开发两种退出程序方式(killProcess,System.exit)

    KillProcess: 在android中我们如果想要程序的进程结束可以这样写: android.os.Process.killProcess(android.os.Process.myPid()) ...

  8. android 文件选择器_Android 开发 打开系统文件、图片、视频等 实现单选多选功能...

    在网上搜下,如何实现图片的多选或者文件的多选,令人纳闷的是居然多是moudle.或第三方jar包,当然第三方的工程功能复杂或兼容性比较好,并没有说明Android系统是如何提供多选的. 既然这么多图片 ...

  9. android mysql开发工具_Android开发工具--adb的使用

    adb(Android Debug Bridge)是Android提供的一个通用的调试工具,借助这个工具,我们可以管理设备或手机模拟器的状态.还可以进行以下的操作: 1.快速更新设备或手机模拟器中的代 ...

最新文章

  1. YII显示sql进行调试
  2. 学习软件测试发展前景怎么样?有前途吗?
  3. 字节码学院之map介绍
  4. 各大型邮箱smtp服务器及端口收集:
  5. 修改Mysql默认 编码
  6. MaxCompute Console 实用小命令
  7. 利用matlab做dsp实验,华工DSP实验一利用Matlab进行频谱分析
  8. ios batchRequest
  9. 手机付费未成规模 阅读市场付费意愿萎缩
  10. Java核心技术笔记 1
  11. XML文件处理总结 - 1
  12. Python实现对给定的列表中连续数字的寻找
  13. 什么是服务器的高并发
  14. 数据科学技术与应用——第2章 多维数据结构与运算
  15. python递归 及 面向对象初识及编程思想
  16. 做抖音自媒体能赚钱吗?
  17. 转载:整车CAN网络介绍---CAN--PT CAN--Chassis CAN--Body CAN--Info CAN
  18. 我的世界java百度什么电脑玩好_【我的世界】为了在龙芯电脑上玩Minecraft(我的世界)我做了什么_玩得好游戏攻略...
  19. 从欧美到亚洲,2019年全球有多少个软件工程师?
  20. dom4j实例 带注释

热门文章

  1. C++ STL之Set
  2. 897. 递增顺序查找树
  3. 二面蚂蚁金服(交叉面),已拿offer,Java岗定级阿里P6
  4. PyCharm之python书写规范--消去提示波浪线
  5. 图像灰度变换及图像数组操作
  6. 为什么Linux下的环境变量要用大写而不是小写
  7. macaca web(4)
  8. Redux API之applyMiddleware
  9. 明天开始新的作息时间了
  10. docker保存对容器的修改