This document provides an introduction and overview of an Android Study Jam session. The session will introduce Android app development using Kotlin, including setting up Android Studio and building a first Android app. It will cover the basics of Kotlin, how it is used for Android, and its benefits over other languages. The session structure will guide attendees through an Android basics course to learn Kotlin fundamentals and create user interfaces with views and layouts. Future sessions will continue building skills and attendees are encouraged to keep learning on their own between sessions.
1. This work is licensed under the Apache 2.0 License
2. This work is licensed under the Apache 2.0 License
3. This work is licensed under the Apache 2.0 License
Introduction to Android Study Jams
// Rishabh Gupta
GDSC Lead @UIT-RGPV
4. This work is licensed under the Apache 2.0 License
https://linkedin.com/in/ankurg132
5. This work is licensed under the Apache 2.0 License
Android Study Jams
Brief Introductory Session
● What is Android Study Jam
● Learning Objectives
● Pre-requisites
● How to create a Google Developer Profile
● Course Structure: Android Basics
● Why Kotlin and cross platform vs Native
● Benefits of the Android Study Jam and next
session details
6. This work is licensed under the Apache 2.0 License
7. This work is licensed under the Apache 2.0 License
Learning Objectives
० Build your first Android apps
० Set up Android Studio on your computer
० Learn the basics of the Kotlin programming language
० Discover resources to continue learning
० Receive exclusive badge at g.co/android/studyjams
8. This work is licensed under the Apache 2.0 License
० Basic computer literacy
० Basic math skills
० Computer (Min 4 GB RAM Required)
० Internet connection
० (Optional) Android device & USB cable
Prerequisites
9. This work is licensed under the Apache 2.0 License
Developer profile
https://developers.google.
com/profile
Carrie Sawyer
Photo by Christopher Campbell on Unsplash
10. This work is licensed under the Apache 2.0 License
Android Basics
in Kotlin Course
11. This work is licensed under the Apache 2.0 License
Unit 1: Kotlin Basics
For Android
12. This work is licensed under the Apache 2.0 License
A Pathway
13. This work is licensed under the Apache 2.0 License
Take a Quiz
14. This work is licensed under the Apache 2.0 License
Earn badges!
15. This work is licensed under the Apache 2.0 License
Kotlin Programming
Language
16. This work is licensed under the Apache 2.0 License
Kotlin is an open-source, statically
typed programming language
supported and developed by
JetBrains and open-source
contributors. Kotlin is designed to
interoperate fully with Java.
In 2017, Google announced Kotlin is
an official language for android
development.
https://github.com/JetBrains/kotlin
17. This work is licensed under the Apache 2.0 License
18. This work is licensed under the Apache 2.0 License
Pathway 1 Pathway 2 Pathway 3
Use Kotlin to start writing Android apps
Kotlin helps developers be more productive
Kotlin Programming Language
19. This work is licensed under the Apache 2.0 License
Write and run Kotlin
code in the browser
Kotlin Playground
Pathway 1 Pathway 2 Pathway 3
20. This work is licensed under the Apache 2.0 License
Pathway 1 Pathway 2 Pathway 3
Official tool to build Android apps
Android Studio
21. This work is licensed under the Apache 2.0 License
Android Emulator
Emulate an Android device on your computer.
Run your app on the emulator
Pathway 1 Pathway 2 Pathway 3
22. This work is licensed under the Apache 2.0 License
The part of your app where
the user interacts with it
User Interface
Pathway 1 Pathway 2 Pathway 3
23. This work is licensed under the Apache 2.0 License
Aa
Button
Layouts
Views
Layouts
Pathway 1 Pathway 2 Pathway 3
24. This work is licensed under the Apache 2.0 License
Hello Android!
Views
TextView ImageView Button
Pathway 1 Pathway 2 Pathway 3
25. This work is licensed under the Apache 2.0 License
Let’s get started
26. This work is licensed under the Apache 2.0 License
Start here:
g.co/android/basics
27. This work is licensed under the Apache 2.0 License
28. This work is licensed under the Apache 2.0 License
Share what you’ve
learned with
#AndroidStudyJams
29. This work is licensed under the Apache 2.0 License
Continue learning!
Keep coming back to Study Jams!
Next session will be on 5th of Dec.
Learn on your own by going through Android Basics in Kotlin Course.
Modify your existing apps and add more features to them.
Additional resources to check out:
● Official Android Developers Site: developer.android.com
● Learn Kotlin By Example
● Official Android Developers Blog (for announcements)
● Android Developers Medium Blog (for more technical articles)
● Android Developers YouTube channel
● Follow @AndroidDev on Twitter
● Subscribe to the Android Developer Newsletter
30. This work is licensed under the Apache 2.0 License
31. This work is licensed under the Apache 2.0 License
32. This work is licensed under the Apache 2.0 License
Editor's Notes
Let’s talk about what you will learn as part of Android Basics. First and foremost, the goal is for you to build your first Android apps. To do this, you’ll install Android Studio on your computer, which is an application to build Android apps. Along the way, you will be exposed to programming concepts and the Kotlin language.
At the end, we’ll also talk about resources on how you can continue learning and building apps beyond this event.
Here are some the prerequisites that will be helpful. Having basic computer literacy and basic math skills is recommended. You’ll also need a computer and access to the internet to take the online course. [Mention WiFi instructions if necessary.]
After this short presentation, we’ll all be working independently on the course. Use headphones to play the videos, so it doesn’t disrupt others around you.
It’s also helpful if you have an Android device so you can test your app. A USB cable will be needed for connecting your phone to the computer. If you don’t have an Android device, don’t worry, you can still use your computer to emulate an Android device.
The badges you earn can be saved to your developer profile. When you are taking the course, be sure to sign in (in the top right corner) and create a developer profile if you haven’t already. It’s very quick to create. As you earn more badges, you can see them on your developer profile and favorite them, as shown here.
[Read more on the Google developer profile]
You’ll be working through the Android Basics in Kotlin course. This is a free online training course developed by Google for people like yourself to learn how to build basic Android apps.
The course is made up of units, and units are composed of pathways.
First we’ll be focused on the first unit, which is shown here. It has made up of 4 pathways. In Session 1, you’ll work on the first 3 pathways: 1) Introduction to Kotlin, 2) Create your first app, and 3) Build a basic layout. In Session 2, you’ll work on the 4th pathway, which is a little longer. [Mention future sessions if your group will be meeting for longer.]
You may be wondering, what is a pathway? It’s an ordered sequence of activities to learn a specific skill. An activity can be a video, hands-on coding tutorial (known as a codelab), an article, or quiz. You can see at least 4 activities in this first pathway. All these activities are meant to help you reach specific learning objectives by the end of this pathway.
There’s a quiz at the end of each pathway to check your understanding of what you just learned. Here’s what a sample quiz looks like. There are no limits to the number of retries for a quiz. But if you get a question wrong, try to understand what the concept is (even if you need to look back at the source material), before answering again.
After you pass the quiz, you earn a badge like this one!
Now that you’re familiar with the learning platform and how the course looks, let’s dive into some important concepts that you’ll be learning about.
In this course, you’ll be learning how to code in Kotlin. Kotlin is a programming language that you’ll use to build Android apps. Kotlin is a modern and popular programming language, known for helping developers be more productive. Kotlin allows you to be more concise when writing your code, and you can write safer code that’s less prone to errors.
As a result of many great language features, Kotlin has quickly gained momentum in industry. It is reportedly one of the fastest growing programming languages, according to GitHub.
Pathway 1 of the course is focused on helping you understand the basics of Kotlin.
[Read about Android’s Kotlin-first approach]
To make it easier for you to learn, you’ll be writing your code in the Kotlin Playground which you can access via the web browser. The site looks something like this. You can write your code in this window and hit the green arrow to run it. The result of your code (known as the output) will show up at the bottom of the window (where it says “Hello, world!”).
Pathway 2 is where you create your first app! You will need to download and install Android Studio on your computer. This is the official tool that professional developers use for Android development. This is where you’ll be writing your Kotlin code and building your apps.
In Android Studio, you can also use the Android Emulator, which can emulate various Android devices on your computer. The emulator allows you to run your app and it provides almost all capabilities that a real Android device would have. If you do have a physical device and want to use it, there are also instructions in Pathway 2 to get you setup.
[Students can either use the emulator or a physical device to test their app, it’s up to personal preference.]
Lastly, in Pathway 3, you’ll learn the basic concepts of customizing the user interface of a simple app. The user interface (also known as UI) of your app includes what the app looks like and how the user interacts with it.
The layout of an app is the design or arrangement of what the user sees on the screen. In Android, a layout is made up of Views.
Here are some examples of types of Views that are provided by Android: TextView for displaying text, ImageView for displaying images, and Button to perform some action when tapped.
Okay that’s it! In a moment, I’ll let you get started on the course. Work at your own pace. If you get stuck, you can ask me or the other facilitators who will be available. [Introduce facilitators if applicable.]
We’re here to answer whatever questions you have, for example, if you need help installing Android Studio or getting your app to run on your Android device. Also feel free to ask each other for help and work together to find solutions.
Open the course page with the link we provided you.
[Optional slide. If you choose to use this, right click on the slide and unselect “Skip slide”]
[Full screen the video when you play it.]
As you continue to learn more about programming in this pathway and beyond, you will run into challenges that you may feel overwhelmed or intimidated by. That is a normal feeling and it’s known as Imposter Syndrome, which many folks in the industry deal with. We want you to be aware of it because there are small actions you can take to overcome it, as the video talks about.
[Additional blog post on why learning to code is so hard]
Hope you all enjoyed the game and learning to create the Dice Roller app!
On social media, remember to post photos or highlights from today using #AndroidStudyJams. [Include your own developer community and chapter hashtags (i.e. #developerstudentclubs #dsccmu)]
First, you can keep coming to Study Jams as we cover more topics to make you a full fledged Android developer.
Second, you can continue learning on your own with the Android Basics in Kotlin course.
Third, you can modify the apps we built together and learn by adding more features to them. You can use Google search or look at existing code samples and videos online for how to add additional features to your app.
To stay connected, check out these additional resources, which professional developers use to stay up to date on Android. As you get into more advanced features, you will likely need to learn more programming concepts. You can check out the Learn Kotlin By Example resource for that.
Thank you so much for being a part of Android Study Jams! Good luck on the beginning of your Android developer journey!