Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Independent

Your First Kotlin Android App: An App From Scratch

via Independent

Overview

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.

  • 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.
  • 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.
  • Challenge yourself to come up with the steps required to build the Bull’s Eye app.
  • Download Android Studio and setup a simple project.
  • Build and run the app on the virtual device you just created to see the starter app in action.
  • Build the basic inteface of the Bull’s Eye app using Views in Android.
  • Continue building the game screen and learn about working with xml in the code view of the layout designer.
  • Learn about the importance of using string resources for texts and how to add descriptive ids to views.
  • Add a button, position it and add other attributes with what you’ve learned so far.
  • Get a summary of what has been covered so far and what to expect in the next part.
  • Get an overview of what we’ll be covering in this part and why it’s important.
  • Learn to access and interact with the views created in xml from inside your activity using the view binding feature.
  • Get introduced to some basic object-oriented programming concepts to better understand the Kotlin code you’ll be working with in the Android Activity.
  • Now it’s time to try to access other views from the Activity with the knowledge you’ve gained so far.
  • Handle events triggered when users interact with your app. An Alert Dialog will display when the “Hit me” button is clicked.
  • 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.
  • Learn about common problems you might encounter while building your apps and see how to solve them.
  • Get a summary of what has been covered so far and what to expect in the next part.
  • Get an overview of what we’ll be covering in this part and why it’s important.
  • Get introduced to the Kotlin Standard Library and how it assists with common operations so we don’t have to reinvent the wheel.
  • Learn about another type of function: one that returns some data.
  • Learn about algorithms and write one that calculates the positive difference between the player’s selection and the target value.
  • 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.
  • Learn to use a math function provided by the Kotlin Standard Library to further simplify the code to calculate the difference.
  • Get a refresher of what was covered in this course and what to expect in the next course in your Android development journey.

Syllabus

  • Get Started with Android Development
    • 1. Introduction:
    • 2. Learn About Kotlin & Android:
    • 3. Challenge: Plan the App:
    • 4. Setup a Project in Android Studio:
    • 5. Build & Run the App:
    • 6. Build UI with Views:
    • 7. Continue Building the UI:
    • 8. Add String Resource & ID:
    • 9. Challenge: Add & Position a Button:
    • 10. Conclusion:
  • Work with an Android Activity
    • 11. Introduction:
    • 12. Access Views Using View Binding:
    • 13. Learn About Instances, Data & Functions:
    • 14. Challenge: Access Other Views:
    • 15. Handle Interactions:
    • 16. Work with Strings:
    • 17. Solve Common Problems:
    • 18. Conclusion:
  • Coding in Kotlin
    • 19. Introduction:
    • 20. Understand Kotlin's Standard Library:
    • 21. Write Another Type of Function:
    • 22. Challenge: Calculate the Difference:
    • 23. Use Conditional Statements:
    • 24. Challenge: Rewrite the Code:
    • 25. Use a Math Method:
    • 26. Conclusion:

Reviews

Start your review of Your First Kotlin Android App: An App From Scratch

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.