android开发入门_Android开发入门

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的应用程序所需的功能是:

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)

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

android开发入门

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
       Android零基础入门这门课程的目标:带您走进Android大门,了解Android整体框架,演变发展历史 ;掌握Android编程的基础概念,教您构建各种应用程序:从Hello World开始,直到带有调度作业、更新设置、访问网络和使用架构组件的应用程序;课程结束后,能自己动手编写一定难度的Android程序,具备自学更高级开发的基础,能看懂开源的Android代码。      课程整体上分5个大的模块依次展开:      1.入门 (第1~3章)      2.用户体验(第4~6章)      3.在后台运行(第7~8章)      4.保存用户数据(第9~10章)      5.应用上架(第11章)。课程大纲如下:第1章. 构建您的第一个应用程序       1. 对Android有基本认识,搞懂Android系统整体框架,Android不同版本以及这些版本演变过程       2.以HelloWord为例,了解Android app的程序结构       3.Android UI的基础知识-视图和布局,初步介绍Android View的事件处理,及图片等资源的使用等第2章.  Activity和Intent       1.Activity 和 Intent 基础和用法       2.Activity生命周期和回调       3.Activity实例状态第3章. 测试应用 调试应用 及使用Support library       1.讲解Android两个主要的应用程序调试方法:日志 和 断点       2.如何对App进行单元测试       3.介绍Android中用于向后兼容的 Support library及用法第4章. 用户交互        讲解Android中常用控件的使用方法和注意事项,如按钮、输入控件、菜单、对话框、用户导航、列表等第5章. 令人愉快的用户体验      1.学会使用Drawables      2.使用Android studio中的图片和矢量图      3.讲解Android中主题和样式,以及如何定制主题和样式      4.Android著名的应用设计理念Material design,通过Material design打造极致的用户体验      5.如何让布局自适应不同尺寸的手机第6章. 界面测试        介绍Android UI自动化测试 Espresso第7章.后台任务        学会Android多线程编程,使用非UI线程在后台完成耗时任务,从网络存取数据。撑握Android的广播和后台服务第8章. 闹钟和调度程序       掌握Android定时任务和调度作业第9章.首选项和设置       学会使用Preferences保存用户数据,编写应用的设置界面,存取设置数据第10章.使用 Room 存储数据       学会使用Android SQLite数据库,通过Room组件对数据库增删改查,掌握LiveData和 ViewModel等架构组件第11章:App上架​     1.学会App在国内应用市场上架​     2.学会App在Google play上架课程中如果讲的不对的地方,请大家指出,我及时修正,我们共同努力,一起进步。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值