Your First Kotlin Android App: An App From Scratch

Updated for 2023! Get started with Android by building your own game using Jetpack Compose and the Kotlin programming language. If you’re new to Android and development as a whole, then this course is for you. By Emmanuel Okiche 🇳🇬.

Leave a rating/review
Download materials
Save for later
Comments
Share

Learning path

This is part of the Android & Kotlin for Beginners learning path. View path.

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

  • Kotlin Basics
  • Build User Interfaces with Jetpack Compose
  • Use Compose Modifiers
  • State Management
  • State Hoisting
  • Working with Android Studio
  • Code Refactoring & Debugging

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.

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.

Toggle description

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

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

Get introduced to Jetpack Compose which is the new way of building UIs in Android and see how it differs from its predecessor, XML.

Toggle description

Build the basic inteface of the BullsEye app using composables in Android.

Toggle description

Use modifiers to further decorate and add functionalities to composables.

Toggle description

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

Conclusion 1:05
Toggle description

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

Part 2: Manage Data in Jetpack Compose

Toggle description

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

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

Learn how to handle events triggered when users interact with your app and learn about the Logcat window.

Toggle description

Learn how to work with States in Jetpack Compose and display an AlertDialog.

Toggle description

Learn about State Hoisting in Jetpack Compose and how you can use it to create stateless composables to simplify your code.

Toggle description

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

Toggle description

Create a custom GamePrompt composable that hold the instruction and target text labels.

Toggle description

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

Conclusion 0:57
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.

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 2:19
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.

Up next

Android & Kotlin
Your First Kotlin Android App: Polishing the App
This course is the sequel to “Your First Kotlin Android App: An App from Scratch.” In this Jetpack Compose... more

Contributors

Over 300 content creators. Join our team.