This work is licensed under the Apache 2.0 License
We’ll be starting the session shortly!
Please keep yourself on MUTE.
Welcome to
Android Study Jams
2021
This work is licensed under the Apache 2.0 License
We’re Starting
Soon
This work is licensed under the Apache 2.0 License
Android
Study Jams
2021
This work is licensed under the Apache 2.0 License
Induction Session
This work is licensed under the Apache 2.0 License
Introduction
Aastha Gupta
Neha Jha
GDSC - BVM Lead
GDSC - IIIT Bh Lead
This work is licensed under the Apache 2.0 License
Ground Rules
Be Present
Stay Present and engaged throughout
this session - close other windows, if
possible.
Be Curious
Adopt a growth mindset to expand your
perspective and open mind.
Share aloud
Use the chat window and share your
thoughts and ask questions.
Engagement
Be mindful of your surroundings, actively
listen and apply what you learn in the
interactive activities and discussions.
Respect each other
With diverse opinions coming in, respect
each others thoughts. Avoid posting
inappropriate content in the chat box.
Keep it in the room
Let’s create a safe space
This work is licensed under the Apache 2.0 License
TOPIC TIME
Intro | COC | Ground Rules | Agenda 19:00 - 19:10
What are Android Study Jams ? 19:10 - 19:20
Unit 1: Kotlin basics
Pathway 1: Introduction to Kotlin
19:20 - 1:30
Pathway 2: Create your first Android app 19:30 - 19:40
Pathway 3: Build a basic layout
Pathway 4: Add a button to an app
19:40 - 20:05
Break / Video 5 Mins
Unit 2: Layouts 20:10 - 20:30
Q&A 20:30 - 20:45
End Note / Celebrate 20:45 - 20:50
Today’s Schedule
This work is licensed under the Apache 2.0 License
Pranav Agarwal
What are
Android Study Jams ?
GDSC - MRIIRS Lead
This work is licensed under the Apache 2.0 License
Android Study Jams
Android Basics
This work is licensed under the Apache 2.0 License
What are Android Study
Jams?
Android Study Jams are community-organized study
groups for people to do hands-on learning for Android
app development.
Android Basics is a series of sessions focused
specifically on learning how to build Android
apps without prior Android experience.
This work is licensed under the Apache 2.0 License
What will you learn?
2
3
4
1 Introduction to Kotlin
Create your first
Android app
Build a basic layout
Add a button to an app (3 hours)
(1 hour)
(1 hour)
(1 hour)
Learn to code in Kotlin, a modern programming
language that helps developers be more productive.
Learn to create and run your first Android app in
Android Studio.
Learn the basics of layouts in Android by creating your
very own birthday card app!
Learn how to use classes, objects, and conditionals to
create an interactive dice roller app.
Badges
Earn badges
at the end of each
pathway!
New to Programming Track
This work is licensed under the Apache 2.0 License
What will you learn?
6
5 Get user input
Display a scrollable
list
(3 hours)
(3 hours)
Learn how to get user input within an app by building a
tip calculator app.
Learn how to display a list of text and images in an
app.
Badges
New to Programming Track
7
Navigate between
screens
(3 hours)
Add another screen to your app by adding a
second activity.
8
Intro to Navigation
Component
(2 hours)
Learn how the Jetpack Navigation component makes
it easier to manage navigation within your app.
This work is licensed under the Apache 2.0 License
What will you learn?
10
9 Architecture
Components
Advanced
navigation examples
(3 hours)
(3 hours)
Learn good app architecture principles by building a
game app to unscramble words.
Combine what you’ve learned so far in a more
advanced app that demonstrates navigating
between multiple screens.
Badges
New to Programming Track
11 Coroutines (3 hours)
Write code for more advanced and complex
Android apps.
12
Get data from the internet
(3 hours)
Retrieve and display images over the internet with
HTTP and REST.
This work is licensed under the Apache 2.0 License
What will you learn?
14
13 Introduction to SQL,
Room, and Flow
Use Room for data
persistence
(3 hours)
(3 hours)
Learn the basics of reading and manipulating data with
SQL, and how to create and use relational databases in
an Android app with the Room library.
Use the Room library to allow your apps to read
and write from a database.
Badges
New to Programming Track
15 Schedule tasks with
WorkManager
(3 hours)
Learn when and how to use WorkManager, an API
that handles background work that needs to run
regardless of whether the application process is
still running.
This work is licensed under the Apache 2.0 License
Prerequisites
० Computer
○ Meets these system requirements for installing Android Studio
○ With Android Studio installed*
० Internet connection
० (Optional) Android device & USB cable
* Either ask students to install Android Studio ahead of time before the
session, or they will do this as part of the hands-on codelabs in the sessions.
This work is licensed under the Apache 2.0 License
Why are you here?
This work is licensed under the Apache 2.0 License
What are your goals?
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
This work is licensed under the Apache 2.0 License
Earn badges!
This work is licensed under the Apache 2.0 License
Android Basics
in Kotlin Course
This work is licensed under the Apache 2.0 License
Unit 1: Kotlin Basics
For Android
This work is licensed under the Apache 2.0 License
A Pathway
This work is licensed under the Apache 2.0 License
Take a Quiz
This work is licensed under the Apache 2.0 License
How do i start?
Carrie Sawyer
Photo by Christopher Campbell on Unsplash
To start you need to create a Developer Profile
(https://google.dev/u/new)
Why do i need a Developer Profile?
● Collect upto 16 badges as you learn
● Showcase your achievements
● Share your achievements
This work is licensed under the Apache 2.0 License
Aakash Gupta
Intro to Kotlin
ASJ Facilitator
GDSC - MAIT
This work is licensed under the Apache 2.0 License
Concept Overview
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
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
This work is licensed under the Apache 2.0 License
Trinankur Atarthi
Pathway 2:
Create your first
Android app
ASJ Facilitator
GDSC - SIT
This work is licensed under the Apache 2.0 License
Pathway 1 Pathway 2 Pathway 3
Official tool to build Android apps
Android Studio
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
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
This work is licensed under the Apache 2.0 License
Aa
Button
Layouts
Views
Layouts
Pathway 1 Pathway 2 Pathway 3
This work is licensed under the Apache 2.0 License
Hello Android!
Views
TextView ImageView Button
Pathway 1 Pathway 2 Pathway 3
This work is licensed under the Apache 2.0 License
Akshat Trivedi
Pathway 4:
Add a button to an app
ASJ Facilitator
GDSC - BVM
This work is licensed under the Apache 2.0 License
Which is the best way to learn new concept?
This work is licensed under the Apache 2.0 License
This work is licensed under the Apache 2.0 License
Stages your application will go through
This work is licensed under the Apache 2.0 License
MainActivity
An activity provides the
window in which the app
draws its UI.
Activity
This work is licensed under the Apache 2.0 License
Class and object instances
A class is like a blueprint, which contains
instructions for how to create something.
An object instance is an actual Dice that’s
created from the blueprint.
Object instance
A second object instance
A third object instance
Dice class
This work is licensed under the Apache 2.0 License
Let’s get started
This work is licensed under the Apache 2.0 License
Break
This work is licensed under the Apache 2.0 License
This work is licensed under the Apache 2.0 License
Suyash Dahake
Welcome Back
GDSC - BITW Lead
This work is licensed under the Apache 2.0 License
Share what you’ve
learned with
#AndroidStudyJams
This work is licensed under the Apache 2.0 License
Samson Kwaku Nkrumah
Unit 2:
Layouts
ASJ Facilitator
GDSC - LPU
This work is licensed under the Apache 2.0 License
Android Study Jams
Android Basics: Unit 2
Layouts
This work is licensed under the Apache 2.0 License
Concept Overview
This work is licensed under the Apache 2.0 License
Let’s get started
This work is licensed under the Apache 2.0 License
This work is licensed under the Apache 2.0 License
Have a Question? Just ask
This work is licensed under the Apache 2.0 License
Share what you’ve
learned with
#AndroidStudyJams
This work is licensed under the Apache 2.0 License
End Note
Tanish Pradhan
Akansha Jain
GDSC - SVVV Lead
GDSC - SRCASW Lead
This work is licensed under the Apache 2.0 License
At the start of the first session of Android Study
Jams, have attendees to go to
g.co/android/studyjams.
This will lead you to the landing page for Android
Study Jams, where you will earn your exclusive
Android Study Jams participant badge, which
you can add to your Google Developer Profile.
Get the exclusive badge!
This work is licensed under the Apache 2.0 License
Certificate of Completion
This work is licensed under the Apache 2.0 License
Continue learning!
Keep coming back to Study Jams!
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
This work is licensed under the Apache 2.0 License
Additional Resources
Online curriculum
● Android Basics in Kotlin Course
● Android Kotlin Fundamentals Course
● Udacity Developing Android Apps with
Kotlin Course
● Udacity Advanced Android with Kotlin
Android Resources
● Official Android Developers website
● Android Developers YouTube channel
● Android Developers Twitter
● Android Developers Medium blog
● Android Developers Official blog
● Android Developers Newsletter
● Android Codelabs
● Android GitHub page
Kotlin Language Resources
● Official Kotlin Language website
● Kotlin Learn by Example
● Kotlin Vocabulary series
Version 1.0
This work is licensed under the Apache 2.0 License
THANK YOU
and have fun helping your communities
become Android developers!
Version 1.0

Android study jams 2021 [collab] [master]

  • 1.
    This work islicensed under the Apache 2.0 License We’ll be starting the session shortly! Please keep yourself on MUTE. Welcome to Android Study Jams 2021
  • 2.
    This work islicensed under the Apache 2.0 License We’re Starting Soon
  • 3.
    This work islicensed under the Apache 2.0 License Android Study Jams 2021
  • 4.
    This work islicensed under the Apache 2.0 License Induction Session
  • 5.
    This work islicensed under the Apache 2.0 License Introduction Aastha Gupta Neha Jha GDSC - BVM Lead GDSC - IIIT Bh Lead
  • 6.
    This work islicensed under the Apache 2.0 License Ground Rules Be Present Stay Present and engaged throughout this session - close other windows, if possible. Be Curious Adopt a growth mindset to expand your perspective and open mind. Share aloud Use the chat window and share your thoughts and ask questions. Engagement Be mindful of your surroundings, actively listen and apply what you learn in the interactive activities and discussions. Respect each other With diverse opinions coming in, respect each others thoughts. Avoid posting inappropriate content in the chat box. Keep it in the room Let’s create a safe space
  • 7.
    This work islicensed under the Apache 2.0 License TOPIC TIME Intro | COC | Ground Rules | Agenda 19:00 - 19:10 What are Android Study Jams ? 19:10 - 19:20 Unit 1: Kotlin basics Pathway 1: Introduction to Kotlin 19:20 - 1:30 Pathway 2: Create your first Android app 19:30 - 19:40 Pathway 3: Build a basic layout Pathway 4: Add a button to an app 19:40 - 20:05 Break / Video 5 Mins Unit 2: Layouts 20:10 - 20:30 Q&A 20:30 - 20:45 End Note / Celebrate 20:45 - 20:50 Today’s Schedule
  • 8.
    This work islicensed under the Apache 2.0 License Pranav Agarwal What are Android Study Jams ? GDSC - MRIIRS Lead
  • 9.
    This work islicensed under the Apache 2.0 License Android Study Jams Android Basics
  • 10.
    This work islicensed under the Apache 2.0 License What are Android Study Jams? Android Study Jams are community-organized study groups for people to do hands-on learning for Android app development. Android Basics is a series of sessions focused specifically on learning how to build Android apps without prior Android experience.
  • 11.
    This work islicensed under the Apache 2.0 License What will you learn? 2 3 4 1 Introduction to Kotlin Create your first Android app Build a basic layout Add a button to an app (3 hours) (1 hour) (1 hour) (1 hour) Learn to code in Kotlin, a modern programming language that helps developers be more productive. Learn to create and run your first Android app in Android Studio. Learn the basics of layouts in Android by creating your very own birthday card app! Learn how to use classes, objects, and conditionals to create an interactive dice roller app. Badges Earn badges at the end of each pathway! New to Programming Track
  • 12.
    This work islicensed under the Apache 2.0 License What will you learn? 6 5 Get user input Display a scrollable list (3 hours) (3 hours) Learn how to get user input within an app by building a tip calculator app. Learn how to display a list of text and images in an app. Badges New to Programming Track 7 Navigate between screens (3 hours) Add another screen to your app by adding a second activity. 8 Intro to Navigation Component (2 hours) Learn how the Jetpack Navigation component makes it easier to manage navigation within your app.
  • 13.
    This work islicensed under the Apache 2.0 License What will you learn? 10 9 Architecture Components Advanced navigation examples (3 hours) (3 hours) Learn good app architecture principles by building a game app to unscramble words. Combine what you’ve learned so far in a more advanced app that demonstrates navigating between multiple screens. Badges New to Programming Track 11 Coroutines (3 hours) Write code for more advanced and complex Android apps. 12 Get data from the internet (3 hours) Retrieve and display images over the internet with HTTP and REST.
  • 14.
    This work islicensed under the Apache 2.0 License What will you learn? 14 13 Introduction to SQL, Room, and Flow Use Room for data persistence (3 hours) (3 hours) Learn the basics of reading and manipulating data with SQL, and how to create and use relational databases in an Android app with the Room library. Use the Room library to allow your apps to read and write from a database. Badges New to Programming Track 15 Schedule tasks with WorkManager (3 hours) Learn when and how to use WorkManager, an API that handles background work that needs to run regardless of whether the application process is still running.
  • 15.
    This work islicensed under the Apache 2.0 License Prerequisites ० Computer ○ Meets these system requirements for installing Android Studio ○ With Android Studio installed* ० Internet connection ० (Optional) Android device & USB cable * Either ask students to install Android Studio ahead of time before the session, or they will do this as part of the hands-on codelabs in the sessions.
  • 16.
    This work islicensed under the Apache 2.0 License Why are you here?
  • 17.
    This work islicensed under the Apache 2.0 License What are your goals?
  • 18.
    This work islicensed 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
  • 19.
    This work islicensed under the Apache 2.0 License Earn badges!
  • 20.
    This work islicensed under the Apache 2.0 License Android Basics in Kotlin Course
  • 21.
    This work islicensed under the Apache 2.0 License Unit 1: Kotlin Basics For Android
  • 22.
    This work islicensed under the Apache 2.0 License A Pathway
  • 23.
    This work islicensed under the Apache 2.0 License Take a Quiz
  • 24.
    This work islicensed under the Apache 2.0 License How do i start? Carrie Sawyer Photo by Christopher Campbell on Unsplash To start you need to create a Developer Profile (https://google.dev/u/new) Why do i need a Developer Profile? ● Collect upto 16 badges as you learn ● Showcase your achievements ● Share your achievements
  • 25.
    This work islicensed under the Apache 2.0 License Aakash Gupta Intro to Kotlin ASJ Facilitator GDSC - MAIT
  • 26.
    This work islicensed under the Apache 2.0 License Concept Overview
  • 27.
    This work islicensed 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
  • 28.
    This work islicensed under the Apache 2.0 License Write and run Kotlin code in the browser Kotlin Playground Pathway 1 Pathway 2 Pathway 3
  • 29.
    This work islicensed under the Apache 2.0 License Trinankur Atarthi Pathway 2: Create your first Android app ASJ Facilitator GDSC - SIT
  • 30.
    This work islicensed under the Apache 2.0 License Pathway 1 Pathway 2 Pathway 3 Official tool to build Android apps Android Studio
  • 31.
    This work islicensed 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
  • 32.
    This work islicensed 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
  • 33.
    This work islicensed under the Apache 2.0 License Aa Button Layouts Views Layouts Pathway 1 Pathway 2 Pathway 3
  • 34.
    This work islicensed under the Apache 2.0 License Hello Android! Views TextView ImageView Button Pathway 1 Pathway 2 Pathway 3
  • 35.
    This work islicensed under the Apache 2.0 License Akshat Trivedi Pathway 4: Add a button to an app ASJ Facilitator GDSC - BVM
  • 36.
    This work islicensed under the Apache 2.0 License Which is the best way to learn new concept?
  • 37.
    This work islicensed under the Apache 2.0 License
  • 38.
    This work islicensed under the Apache 2.0 License Stages your application will go through
  • 39.
    This work islicensed under the Apache 2.0 License MainActivity An activity provides the window in which the app draws its UI. Activity
  • 40.
    This work islicensed under the Apache 2.0 License Class and object instances A class is like a blueprint, which contains instructions for how to create something. An object instance is an actual Dice that’s created from the blueprint. Object instance A second object instance A third object instance Dice class
  • 41.
    This work islicensed under the Apache 2.0 License Let’s get started
  • 42.
    This work islicensed under the Apache 2.0 License Break
  • 43.
    This work islicensed under the Apache 2.0 License
  • 44.
    This work islicensed under the Apache 2.0 License Suyash Dahake Welcome Back GDSC - BITW Lead
  • 45.
    This work islicensed under the Apache 2.0 License Share what you’ve learned with #AndroidStudyJams
  • 46.
    This work islicensed under the Apache 2.0 License Samson Kwaku Nkrumah Unit 2: Layouts ASJ Facilitator GDSC - LPU
  • 47.
    This work islicensed under the Apache 2.0 License Android Study Jams Android Basics: Unit 2 Layouts
  • 48.
    This work islicensed under the Apache 2.0 License Concept Overview
  • 49.
    This work islicensed under the Apache 2.0 License Let’s get started
  • 50.
    This work islicensed under the Apache 2.0 License
  • 51.
    This work islicensed under the Apache 2.0 License Have a Question? Just ask
  • 52.
    This work islicensed under the Apache 2.0 License Share what you’ve learned with #AndroidStudyJams
  • 53.
    This work islicensed under the Apache 2.0 License End Note Tanish Pradhan Akansha Jain GDSC - SVVV Lead GDSC - SRCASW Lead
  • 54.
    This work islicensed under the Apache 2.0 License At the start of the first session of Android Study Jams, have attendees to go to g.co/android/studyjams. This will lead you to the landing page for Android Study Jams, where you will earn your exclusive Android Study Jams participant badge, which you can add to your Google Developer Profile. Get the exclusive badge!
  • 55.
    This work islicensed under the Apache 2.0 License Certificate of Completion
  • 56.
    This work islicensed under the Apache 2.0 License Continue learning! Keep coming back to Study Jams! 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
  • 57.
    This work islicensed under the Apache 2.0 License Additional Resources Online curriculum ● Android Basics in Kotlin Course ● Android Kotlin Fundamentals Course ● Udacity Developing Android Apps with Kotlin Course ● Udacity Advanced Android with Kotlin Android Resources ● Official Android Developers website ● Android Developers YouTube channel ● Android Developers Twitter ● Android Developers Medium blog ● Android Developers Official blog ● Android Developers Newsletter ● Android Codelabs ● Android GitHub page Kotlin Language Resources ● Official Kotlin Language website ● Kotlin Learn by Example ● Kotlin Vocabulary series Version 1.0
  • 58.
    This work islicensed under the Apache 2.0 License THANK YOU and have fun helping your communities become Android developers! Version 1.0

Editor's Notes

  • #8 Let’s look at the schedule for this session. [Please update this schedule accordingly before your event. If attendees install Android Studio beforehand, then you can shorten the time allowed for Pathway 2.] First, we have a short presentation, which we’re doing right now. We’re covering some logistics and a high-level introduction to the concepts, to help you with the hands-on portion of the session later. Once I’m done talking, you’ll be able to dive into the course. You’ll be working independently on 3 pathways in the first unit of the course. This is just a suggested schedule. You can work through the pathways at your own pace and let me or any of the other facilitators know if you have questions. We’ll also have a short break in between. At the end of the session, I’ll bring everyone together and we can recap what we learned today and celebrate your progress!!
  • #10 Hi everyone! My name is <Insert Name> and welcome to Android Study Jams! This is session 1 of Android Basics. This is for people with little to no programming experience, we start at the beginning and you’ll learn how to build simple Android apps in Kotlin!
  • #16 The decision to have attendees install Android Studio on their computers beforehand is up to your preference. Option 1: You can have attendees install Android Studio as part of the hands-on codelabs. There are instructions within the two tracks for students to install Android Studio. This will take up more time during your session, but will allow them to ask questions if they need help with the install and set up process. Option 2: You could ask attendees to install Android Studio on their own before attending a session. Just be sure to let them know that this is expected of them prior to the session. These instructions may be useful.
  • #17 Before we dive into the content, I want to get to know you better and what brought you here. Please take out a piece of paper. Take a moment to think about your answers to these questions and write them down. [Give 2-3 minutes to work and when most people have put down their pencils, proceed.]
  • #18 Before we dive into the content, I want to get to know you better and what brought you here. Please take out a piece of paper. Take a moment to think about your answers to these questions and write them down. [Give 2-3 minutes to work and when most people have put down their pencils, proceed.]
  • #19 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.
  • #20 After you pass the quiz, you earn a badge like this one!
  • #21 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.
  • #22 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.]
  • #23 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.
  • #24 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.
  • #25 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]
  • #27 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.
  • #28 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]
  • #29 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!”).
  • #31 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.
  • #32 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.]
  • #33 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.
  • #34 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.
  • #35 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.
  • #40 To build this app, you’ll need to understand what an activity in Android is. An Activity is the part of your app that presents a window that can display the app's content on the screen. In the Dice Roller app you’ll be building, there is only one Activity called the MainActivity. When you open up the app, the MainActivity launches, the layout is drawn on the screen, and the user can start interacting with the app. You will be modifying the MainActivity by adding Kotlin code for what should happen when the user taps the button in the app. Introduction to Activities Activity class
  • #41 As you write Kotin code for your app, you’ll need to understand what classes and objects are. You can think of a class like a blueprint. It contains instructions for how to create something. From the Dice blueprint, you can create actual Dice. More specifically, the Dice class contains details like what properties a Dice has (e.g. number of sides) and how it behaves (e.g. it can be rolled). The great advantage of having the Dice class is now you can create as many Dice object instances as you want, as shown in the diagram. It saves time from having to write all the same code over and over again. This makes your code more organized and easier to maintain. [Optional: You could also use this analogy. A blueprint of a house contains the instructions of how to create the house. But the blueprint is not the house itself. The actual house is the object instance, and you can create multiple house object instances from the same blueprint.]
  • #42 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.
  • #44 [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]
  • #46 Great job everyone on your progress! You can post photos or highlights from today’s session on social media using #AndroidStudyJams. [Include your own developer community and chapter hashtags (i.e. #developerstudentclubs #dsccmu)] We encourage you to share a screenshot of your birthday card app!
  • #48 Welcome back to Android Study Jams! My name is <Insert Name> and today we’ll be completing session 2 of Android Basics. As a reminder, these sessions are designed for people with no prior programming experience to learn how to build basic Android apps in Kotlin.
  • #49 Let’s dive into some of the high-level concepts you’ll be learning.
  • #50 That’s all we’ll cover for today -- let’s get started!
  • #51 [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]
  • #52 [You can give them about an 1.5 - 2 hours to work on this, with another break as needed.]
  • #53 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)]
  • #55 After you pass the quiz, you earn a badge like this one!
  • #56 [You can give them about an 1.5 - 2 hours to work on this, with another break as needed.]
  • #57 Thank you Tanish! So you can keep coming to Study Jams as we cover more topics to make you a full fledged Android developer. You all can continue learning on your own with the Android Basics in Kotlin course. 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.
  • #58 These are some more resources that can help you throughout your journey of becoming an Android Developer. Here are some of the Online Curriculum courses , some kotlin language resources and some Android resources that you can check out and don’t worry all the respective facilitators will share all these resources with you after the session. Moreover we want to let you know that we are planning to conduct another amazing session related to Android Study Jams on 11th of December. More details on that we will share soon so stay tuned. Good luck on the beginning of your Android developer journey!