This is part of the "Android and Kotlin for Beginners" learning path. View Path

Your First Kotlin Android App: An App From Scratch

Jul 5 2022 · Video Course (1 hr, 59 mins) · Beginner

Updated for 2022! Get started with Android by building your own game using the Kotlin programming language. If you’re new to Android and development as a whole, then this course is for you.

Version

  • Kotlin 1.6, Android 12, Android Studio Bumblebee | 2021.1.1

Get Started with Android Development

Introduction

3:16 Free

Getting started with Android development begins right here. Learn about what you’ll be making in this course - a simple game called Bull’s Eye.

1

This episode would introduce the students into the two main components of the course: Kotlin and Android. Get a general introduction to Kotlin and a brief overview of the Android OS.

2

Challenge yourself to come up with the steps required to build the Bull’s Eye app.

3

Download Android Studio and setup a simple project.

4

Build and run the app on the virtual device you just created to see the starter app in action.

5

Build the basic inteface of the Bull’s Eye app using Views in Android.

6

Continue building the game screen and learn about working with xml in the code view of the layout designer.

7

Learn about the importance of using string resources for texts and how to add descriptive ids to views.

8

Add a button, position it and add other attributes with what you’ve learned so far.

9

Conclusion

1:09 Free

Get a summary of what has been covered so far and what to expect in the next part.

10

Work with an Android Activity

Introduction

0:33 Free

Get an overview of what we’ll be covering in this part and why it’s important.

11

Learn to access and interact with the views created in xml from inside your activity using the view binding feature.

12

Get introduced to some basic object-oriented programming concepts to better understand the Kotlin code you’ll be working with in the Android Activity.

13

Now it’s time to try to access other views from the Activity with the knowledge you’ve gained so far.

14

Handle events triggered when users interact with your app. An Alert Dialog will display when the “Hit me” button is clicked.

15

Work with Strings

7:48 Free

Cover the process of working with the “string” data type which stores a sequence of characters and display the value of the seekbar in the Alert Dialog.

16

Learn about common problems you might encounter while building your apps and see how to solve them.

17

Conclusion

0:50 Free

Get a summary of what has been covered so far and what to expect in the next part.

18

Coding in Kotlin

Introduction

0:53 Free

Get an overview of what we’ll be covering in this part and why it’s important.

19

Get introduced to the Kotlin Standard Library and how it assists with common operations so we don’t have to reinvent the wheel.

20

Learn about another type of function: one that returns some data.

21

Learn about algorithms and write one that calculates the positive difference between the player’s selection and the target value.

22

Become acquainted with conditional statements by calculating the positive difference.

23

Learn the ropes of code refactoring. Try to rewrite the method using another algorithm with less code.

24

Use a Math Method

2:21 Free

Learn to use a math function provided by the Kotlin Standard Library to further simplify the code to calculate the difference.

25

Conclusion

1:54 Free

Get a refresher of what was covered in this course and what to expect in the next course in your Android development journey.

26

Next course in this Learning Path

Version history

Android 12, Kotlin 1.6, Android Studio Bumblebee | 2021.1.1 (Selected)

Jul 5 2022

Android 11, Kotlin 1.4, Android Studio 4

Oct 1 2020

Android 4.4+, Kotlin 1.2, Studio 3.0.1

Mar 19 2018

Who is this for?

Total beginners welcome! This course walks you through building an Android app in Kotlin from start to finish.

This course isn’t suited for advanced developers. If that’s you, check out our intermediate or advanced video courses for more ways to level-up your developer skills!

Covered concepts

  • Install all the prerequisite software necessary for developing Android apps
  • Create a brand new Android app using Android Studio
  • Build Layouts using ConstraintLayout
  • Modify View components
  • Understand the basics of Kotlin Programming Language
  • Apply and modify logic and rules to the app

Contributors

Comments