SlideShare a Scribd company logo
Day 1: Session 2
Android
Study Jams
Android Emulator
Emulate an Android device on your computer.
Run your app on the emulator
Pathway 1 Pathway 2 Pathway 3
The part of your app where
the user interacts with it
User Interface
Pathway 1 Pathway 2 Pathway 3
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
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 Play!

More Related Content

PPTX
[EXTERNAL] Android Basics Sessions 1 _ 2 - Android Study Jams.pptx
PPTX
Final session 1
PPTX
Week 1 - Android Study Jams
PPTX
Android study jam session 1
PPTX
Android study jams 2021 [collab] [master]
PPTX
Android Study Jams - Session 1
PPTX
GDSC - IIITB: Android Study Jams - Introductory Session
PPTX
ASJ Workshop - Introduction
[EXTERNAL] Android Basics Sessions 1 _ 2 - Android Study Jams.pptx
Final session 1
Week 1 - Android Study Jams
Android study jam session 1
Android study jams 2021 [collab] [master]
Android Study Jams - Session 1
GDSC - IIITB: Android Study Jams - Introductory Session
ASJ Workshop - Introduction

Similar to Day 1 Session 2 (20)

PPTX
Android Study Jams - Session 1
PPTX
Vit bhopal android study jams 2.0 session 1
PPTX
Eclispe daytoulouse combining the power of eclipse with android_fr_1024_768_s...
PDF
Android Development
PPTX
Android study jams
PPTX
DSC ASEB Android Study Jams 2020: New to Programming 1
PPTX
Android Study Jams - New to Programming [27th december]
PPTX
Introduction to android study jams
PDF
Android Bootcamp
PPT
Synapseindia android apps application
PDF
Android Programming For Developers John Horton Helder Vasconcelos
PPTX
DSC ASEB Android Study Jams 2020: New to Programming 3
PDF
Android workshop
PDF
Training android
KEY
Android Development: The Basics
PPTX
Android Study Jams Session 4
PDF
ASJ intro session
PPTX
Android 101 Session @thejunction32
PPTX
The First Ever Android Meet-up
PDF
Homework seriesandroidworkshop JUly 12th
Android Study Jams - Session 1
Vit bhopal android study jams 2.0 session 1
Eclispe daytoulouse combining the power of eclipse with android_fr_1024_768_s...
Android Development
Android study jams
DSC ASEB Android Study Jams 2020: New to Programming 1
Android Study Jams - New to Programming [27th december]
Introduction to android study jams
Android Bootcamp
Synapseindia android apps application
Android Programming For Developers John Horton Helder Vasconcelos
DSC ASEB Android Study Jams 2020: New to Programming 3
Android workshop
Training android
Android Development: The Basics
Android Study Jams Session 4
ASJ intro session
Android 101 Session @thejunction32
The First Ever Android Meet-up
Homework seriesandroidworkshop JUly 12th
Ad

More from GoogleDeveloperStude1 (6)

PPTX
Camp Composed Session 4.pptx
PPTX
composecampsession3.pptx
PPTX
Camp Composed Session 2.pptx
PPTX
Compose Camp Slide Deck Template.pptx
PPTX
GDSC CCE.pptx
PPTX
Day 1 Session 1
Camp Composed Session 4.pptx
composecampsession3.pptx
Camp Composed Session 2.pptx
Compose Camp Slide Deck Template.pptx
GDSC CCE.pptx
Day 1 Session 1
Ad

Recently uploaded (20)

PPTX
Cell Types and Its function , kingdom of life
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
Cell Structure & Organelles in detailed.
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
master seminar digital applications in india
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Cell Types and Its function , kingdom of life
2.FourierTransform-ShortQuestionswithAnswers.pdf
Final Presentation General Medicine 03-08-2024.pptx
O5-L3 Freight Transport Ops (International) V1.pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
202450812 BayCHI UCSC-SV 20250812 v17.pptx
VCE English Exam - Section C Student Revision Booklet
Chinmaya Tiranga quiz Grand Finale.pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Orientation - ARALprogram of Deped to the Parents.pptx
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
O7-L3 Supply Chain Operations - ICLT Program
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Anesthesia in Laparoscopic Surgery in India
Cell Structure & Organelles in detailed.
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
master seminar digital applications in india
Chapter 2 Heredity, Prenatal Development, and Birth.pdf

Day 1 Session 2

  • 1. Day 1: Session 2 Android Study Jams
  • 2. Android Emulator Emulate an Android device on your computer. Run your app on the emulator Pathway 1 Pathway 2 Pathway 3
  • 3. The part of your app where the user interacts with it User Interface Pathway 1 Pathway 2 Pathway 3
  • 5. This work is licensed under the Apache 2.0 License Hello Android! Views TextView ImageView Button Pathway 1 Pathway 2 Pathway 3
  • 6. 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
  • 7. This work is licensed under the Apache 2.0 License Let’s Play!

Editor's Notes

  • #3: 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.]
  • #4: 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.
  • #5: 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.
  • #6: 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.
  • #7: 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.]
  • #8: [This activity is designed for in-person meetings.] Let’s play a game where you get to use the Dice Roller app you just created! This is a twist on a group rock paper scissors game you may have played. Pair up and hit the Roll button on your own app at the same time. Whoever has a higher roll, wins. Whoever loses cheers on the winner, as they play against their next component. If you tie, play against the same person again. The game keeps going until there are only 2 people in the room left to play each other, with everyone else cheering each side on, until a grand winner is declared! [If some people didn’t finish the app, that’s totally okay. They can Google “Random number between 1 and 6” and it will do the same thing.] [If you’re meeting virtually, instead of playing the game, you can have folks share how they would extend the app by adding additional features. Or you can have them share if they thought of any future app ideas from building this one.]