Your First Kotlin Android App: An App From Scratch

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. By Emmanuel Okiche.

5 (10) · 3 Reviews

Download materials
Save for later
Comments
Share

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

Part 1: Get Started with Android Development

01
Toggle description

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.

02
Toggle description

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.

03
Toggle description

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

04
Toggle description

Download Android Studio and setup a simple project.

Toggle description

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

Toggle description

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

Toggle description

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

Toggle description

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

Toggle description

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

Conclusion 1:09
Toggle description

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

Part 2: Work with an Android Activity

Toggle description

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

Toggle description

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

Toggle description

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

Toggle description

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

Toggle description

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

Toggle description

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.

Toggle description

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

Conclusion 0:50
Toggle description

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

Part 3: Coding in Kotlin

Toggle description

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

Toggle description

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

Toggle description

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

Toggle description

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

Toggle description

Become acquainted with conditional statements by calculating the positive difference.

Toggle description

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

Toggle description

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

Conclusion 1:54
Toggle description

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