SlideShare ist ein Scribd-Unternehmen logo
1 von 13
Youth-Led Tech Curriculum
Day 21: App Inventor Basics
Content Goals: Youth will learn the components of building an app and will
start building their own app.
Leadership Goals: Team-building activities with a focus on communication
Materials: Worksheet
10:00 AM Sign-in
Use the online attendance sheet to mark students as present and
note any issues.
10:05 AM Mood Check/Icebreaker Question
It’s important to start every session with an opening activity, such
as a Mood Check-in, where students state their mood on a scale of
1-10. We often pair this with an icebreaker question that each
student answers.
10:15 AM Screamer
In a circle, people look at ground, then on "heads up" look into
someone else's eyes. If 2 people are looking at each other, they
scream and are both out. Continue to see who is last - hilarious.
2
10:45 AM App Inventor Basics
The Designer
The Designer allows you to choose functionality and to change the
look and feel of your app. It has four parts: Palette, Viewer,
Components, and Properties.
Properties.
With the Palette, you choose your components (buttons, phone
calls, texting, camera, location sensors, and more). Whatever you
want your app to do, just drag from the Palette to the Viewer. The
Viewer organizes your components, and shows you what they will
look like on the phone. The Components section lists all the
components in your app, in the order they appear in the Viewer.
You can click the components to rename or delete. There’s also a
Media section, which you can use to upload images and audio.
With Properties, you customize the components. Click the
component, and you can change the color, text, height, visibility,
and more.
Blocks
The Blocks are the back-end, where we tell the app what to do.
Each component from the palette has a set of blocks that you can
use to change the properties of each block, and add new
functionality to your app. There are also blocks that are built in,
and come with every app.
11:10 AM Designer: Set up the components
3
Use the Designer to create the user interface – the design of your
app. When you are done, it should look something like the picture
below.
To build that user interface, drag these components from the
Palette into the Viewer, and change their properties.
Component
type
Palette
group
What you will
name it
Purpose/
Properties
Label User
Interface
headerLabel The name of
the app/ set
text to “Hip
Hop History”,
set
background
color to red,
set text color
to white, set
width to fill
parent
Label User
Interface
titleLabel holds the
name of the
musical
genres (e.g.,
blues, funk)
you’ll be
featuring/ set
text to “Genre”
4
Label User
Interface
locationLabel holds the
name of the
location/ set
text to
“Location”
Button User
Interface
PlayButton clicks to play
audio and
show the
image of the
genre/ set
width and
height to 50px
Vertical
Arrangement
Layout Vertical
Arrangement
Give some
layout design/
drag the
titleLabel and
put it inside,
then the
LocationLabel
inside
Horizontal
Arrangement
Layout Horizontal
Arrangement
Give some
layout design/
set width to fill
parent, then
drag the
PlayButton
inside and the
vertical
arrangement
(they should
be side by
side)
WebViewer User
Interface
WebViewer1 Shows the
map/ Set
width to fill
parent, and
height to
300px
Label User
Interface
yearLabel Holds the year
of the genre/
5
set text to
“Year”
Slider User
Interface
Slider1 Slide to
change
content/ set
width to
300px, set
min value to 1,
set max value
to 5, set
ThumbPosition
to 1,
Player Media Player1 Plays Audio
12 NOON Lunch
1:00 PM Avoiding 21
Get into a circle, the group is going to count around the circle up to 21.
The person who is forced to say 21 is “out”. Each person can say one,
two, or three numbers in a row. For example, 1st Person “1,2”; 2nd
Person “4,5,6” 3rd Person ,“7”, etc.
1:20 PM Typing club
1. Log on to http://youthledtech.typingclub.com
2. Allow youth to practice/develop their typing skills. This
could be a useful time for facilitators to catch up on
paperwork or setup for the next activity
3. Facilitators can track the students progress to make sure
that they are actually on the right site
2:10 PM Break
2:20 PM Upload Media
Remember, our app traces musical genres that laid the foundation
for Hip Hop by displaying an image representing each genre and
sampling a piece of music from that genre. To play the music and
show the image, you need to upload them into your app.
You add the media elements by clicking Upload.
Click here to download the audio and images used in this tutorial,
but as noted at the beginning, you can always change these
elements to fit your project’s focus (or your sense of music
6
history!).
Blocks: Let’s Program
So…we want content to change when the user moves the slider.
But what content do we want to change? We want the image,
audio, location, and time period to change. How does the app
“hold”all that information? With variables and lists.
What’s a Variable?
Variables are ways to store values to use later. A global variable is
a variable that can be accessed anywhere in the code. Global
variables are created using the “initialize global name” block found
in the Variables drawer.
This block allows you to create a new variable, to which you can
assign any value:
This block provides a way to get any variables you may have
created.
Once a variable (v) is selected, the user can attach a new block
and set (v) to a new value.
What’s a List?
A list is a way to organize multiple variables or items.
Why Would We Use a List?
For each time period in our app, we want the image, location, title,
and time period to change. We need a way to group and order all
those items.
7
A list allows us to organize each piece of information, and move up
and down the items.
We want the time period to change, so let’s start with that list first.
Start by creating a variable, and name it yearList. Then attach a
“make a list”block (from built-in text), click the dark blue square to
add a total of 5 items. Then connect a text block (from text) into
each socket.
Then type in the years (as listed in the image). Make sure that the
content is in order.
Now create a list for each piece of content that you want to
change. The content needs to appear in the same order in every
list.
Lists – Year, Genre, Audio, Image, Location, Map:
Year list – list years : 1920, 1920, 1960, 1980, 1990
Genre list – lists the different genres of music : Blues, Jazz, Funk,
Rap, Gangsta Rap
Audio list – list the names of the music files : blues.m4a, jazz.m4a,
funk.m4a, rap.m4a, Grap.m4a
Image list – list the names of the png files : blues.png, jazz.jpeg,
funk.jpeg, rap.jpeg, gRap.jpeg
Location list- list the name of the locations: Deep South USA, New
Orleans, Atlanta, New York, Los Angeles
Map list- list the URLs of Google Maps of the locations. You get the
URL by going to Google Maps, typing in a location, then clicking the
X next to the city name. Next go down to the settings gear in the
bottom right, click the Share option and by checking the Short URL
you get these URLs:
https://goo.gl/maps/JG7QP
https://goo.gl/maps/TG6EK
https://goo.gl/maps/Ze5yv
https://goo.gl/maps/Crv5q
https://goo.gl/maps/5DYNY
If you click these links, you will see the map in Google Maps. These
are the URLs we used, but you should encourage your students to
go to Google Maps, and type the location. If you wanted to use
different locations, you do the same steps, just type in cities you
would prefer. Your completed list should look like this:
8
Navigating the List: The Index
The index tells you where you are in the list. So if the index is 3,
then it is referring to the year 1980.
If the index is 5, then it is referring to the year 1900′s. Pretty
simple, right?
Connecting the Components to the List
Now that we have multiple lists, we need to connect the lists to the
components in the Designer. First we need to think about when the
index will change. Which action or event will cause the information
to change?
There are many events that could trigger the information to
change, for example a button clicking or even a timer. In this app,
we will be using the slider to navigate among all the content. So
let’s look into the Slider component…
We want the YearLabel to select an item from the YearList.
First grab the set YearLabel.text block – because we want to
change the text.
Next clock Lists from built in, and grab a select list item block.
The select list item block will have two empty sockets – list and
9
index. For list, we want to connect the corresponding yearList. To
do this, we go into variable, grab a get block and click the drop
down to select global yearList.
Earlier, we introduced the index, which lets you know where you
are in the list. If we typed 2, it would go to the second item. But for
this app, we want the index to change when the user moves the
slider. In App Inventor, we call this the thumb position. The thumb
position lets you know where on the slider you are.
Let’s click the slider component, grab the light green
Slider1.ThumbPosition, and connect to the index socket.
For every label component, we want the content to come from the
same index in each list, so for each line we will use
“Slider1.ThumbPosition” for the index.
It should look like this…
Connect the Rest
For all the labels (yearLabel, titleLabel, locationLabel), we want to
change the text.
For the Play button we want to change the image, so we click on
our Play Button component and select set PlayButton.Image to
…then connect the select item. The list will be the imageList.
For the Player we want to change the source, so click the player
component and drag out the set Player.Source to and follow the
same steps as above. What list are you going to connect to?
For webviewer.1, we want to change the URL. Click the
component and look for WebViewer1.GoToUrl. Follow the same
steps as above.
10
Almost Done! But let’s play some music…
Finally, when the PlayButton is clicked, we want to hear a sample
of music from that time period. We already connected the audio
files to the player source, but we did not yet tell the app when to
start playing the audio.
Player
What do we want to happen? Click the button and the audio
plays…
So select the PlayButton from the components, then grab the
when PlayButton.Click block. Then select the player component
and grab the call Player.Start block (it should be purple). Connect
these two. It should look like this:
Now Test Your App!
On your phone, download the AI Companion app. Click Connect,
then AI Companion. A QR code should pop up, and scan the QR
code or type in the code.
You can also download the app, by clicking Build. You can either
use the QR code or you can download the app, and email to
yourself.
Remix it with different information!
11
3:40 PM Thunder Props reflection
1. Everyone log on to your Twitter account
2. Today we are going to give props to our peers in the
#youthledtech program
3. We have created a prompt for you to fill in on your Twitter
account and on 3 we will all send our tweets at the same
time.
a. PROMPT: “My app will address_______ because
___________ #youthledtech”
b. Make sure they use the hashtag so that we can view
all of the tweets
4. READY??
5. After you read the prompt give students 1 minute to
complete and tell them to raise their hand once they have
typed their message. Tell them “DO NOT hit send until I say
so.”
6. Once everyone has constructed their tweet then count down
3, 2, 1, SEND!!
7. Read a few tweets from the screen and then do a live
Thunder clap.
3:55 PM Sign out
Make sure each youth is accounted for.
12
13

Weitere ähnliche Inhalte

Andere mochten auch

Civic 2.0 Training Course Module 2. Online Research Basics
Civic 2.0 Training Course  Module 2.  Online Research BasicsCivic 2.0 Training Course  Module 2.  Online Research Basics
Civic 2.0 Training Course Module 2. Online Research BasicsSmart Chicago Collaborative
 
Getting Smarter in Chicago: Presentation to Baltimore Data Days
Getting Smarter in Chicago: Presentation to Baltimore Data DaysGetting Smarter in Chicago: Presentation to Baltimore Data Days
Getting Smarter in Chicago: Presentation to Baltimore Data DaysSmart Chicago Collaborative
 
Digital citizenship-the-internet-society-and-participation
Digital citizenship-the-internet-society-and-participationDigital citizenship-the-internet-society-and-participation
Digital citizenship-the-internet-society-and-participationSmart Chicago Collaborative
 
Civic 2.0 Module 1 Civic Engagement and Accessing Government Websites Instruc...
Civic 2.0 Module 1 Civic Engagement and Accessing Government Websites Instruc...Civic 2.0 Module 1 Civic Engagement and Accessing Government Websites Instruc...
Civic 2.0 Module 1 Civic Engagement and Accessing Government Websites Instruc...Smart Chicago Collaborative
 
Libre Office Writer Lesson 4: Working with tables and templates
Libre Office Writer Lesson 4: Working with tables and templatesLibre Office Writer Lesson 4: Working with tables and templates
Libre Office Writer Lesson 4: Working with tables and templatesSmart Chicago Collaborative
 
Libre Office Writer Lesson 3: Using Styles and Templates
Libre Office Writer Lesson 3: Using Styles and TemplatesLibre Office Writer Lesson 3: Using Styles and Templates
Libre Office Writer Lesson 3: Using Styles and TemplatesSmart Chicago Collaborative
 
Connect Chicago Digital Skills Road Map Working Group #1
Connect Chicago Digital Skills Road Map Working Group #1Connect Chicago Digital Skills Road Map Working Group #1
Connect Chicago Digital Skills Road Map Working Group #1Smart Chicago Collaborative
 
Digital Inclusion Program Sustainability: Documenting Lessons, Sharing Succes...
Digital Inclusion Program Sustainability: Documenting Lessons, Sharing Succes...Digital Inclusion Program Sustainability: Documenting Lessons, Sharing Succes...
Digital Inclusion Program Sustainability: Documenting Lessons, Sharing Succes...Smart Chicago Collaborative
 
Libre Office Impress Lesson 5: Slide shows and animations
Libre Office Impress Lesson 5: Slide shows and animationsLibre Office Impress Lesson 5: Slide shows and animations
Libre Office Impress Lesson 5: Slide shows and animationsSmart Chicago Collaborative
 

Andere mochten auch (15)

Civic 2.0 Training Course Module 2. Online Research Basics
Civic 2.0 Training Course  Module 2.  Online Research BasicsCivic 2.0 Training Course  Module 2.  Online Research Basics
Civic 2.0 Training Course Module 2. Online Research Basics
 
Youth ledtechcurriculumday1
Youth ledtechcurriculumday1Youth ledtechcurriculumday1
Youth ledtechcurriculumday1
 
O'Neil and Chen at City of Big Data Pecha Kucha
O'Neil and Chen at City of Big Data Pecha KuchaO'Neil and Chen at City of Big Data Pecha Kucha
O'Neil and Chen at City of Big Data Pecha Kucha
 
Informatics moments
Informatics momentsInformatics moments
Informatics moments
 
Getting Smarter in Chicago: Presentation to Baltimore Data Days
Getting Smarter in Chicago: Presentation to Baltimore Data DaysGetting Smarter in Chicago: Presentation to Baltimore Data Days
Getting Smarter in Chicago: Presentation to Baltimore Data Days
 
Digital citizenship-the-internet-society-and-participation
Digital citizenship-the-internet-society-and-participationDigital citizenship-the-internet-society-and-participation
Digital citizenship-the-internet-society-and-participation
 
City of-chicago-tech-plan
City of-chicago-tech-planCity of-chicago-tech-plan
City of-chicago-tech-plan
 
Youth-led Tech Curriculum Day 13
Youth-led Tech Curriculum Day 13Youth-led Tech Curriculum Day 13
Youth-led Tech Curriculum Day 13
 
Civic 2.0 Module 1 Civic Engagement and Accessing Government Websites Instruc...
Civic 2.0 Module 1 Civic Engagement and Accessing Government Websites Instruc...Civic 2.0 Module 1 Civic Engagement and Accessing Government Websites Instruc...
Civic 2.0 Module 1 Civic Engagement and Accessing Government Websites Instruc...
 
The Smart Chicago Model
The Smart Chicago ModelThe Smart Chicago Model
The Smart Chicago Model
 
Libre Office Writer Lesson 4: Working with tables and templates
Libre Office Writer Lesson 4: Working with tables and templatesLibre Office Writer Lesson 4: Working with tables and templates
Libre Office Writer Lesson 4: Working with tables and templates
 
Libre Office Writer Lesson 3: Using Styles and Templates
Libre Office Writer Lesson 3: Using Styles and TemplatesLibre Office Writer Lesson 3: Using Styles and Templates
Libre Office Writer Lesson 3: Using Styles and Templates
 
Connect Chicago Digital Skills Road Map Working Group #1
Connect Chicago Digital Skills Road Map Working Group #1Connect Chicago Digital Skills Road Map Working Group #1
Connect Chicago Digital Skills Road Map Working Group #1
 
Digital Inclusion Program Sustainability: Documenting Lessons, Sharing Succes...
Digital Inclusion Program Sustainability: Documenting Lessons, Sharing Succes...Digital Inclusion Program Sustainability: Documenting Lessons, Sharing Succes...
Digital Inclusion Program Sustainability: Documenting Lessons, Sharing Succes...
 
Libre Office Impress Lesson 5: Slide shows and animations
Libre Office Impress Lesson 5: Slide shows and animationsLibre Office Impress Lesson 5: Slide shows and animations
Libre Office Impress Lesson 5: Slide shows and animations
 

Ähnlich wie Youth-Led Tech Curriculum Day 21

I have adream
I have adreamI have adream
I have adreamANASZ123
 
Magazine screenshots
Magazine screenshotsMagazine screenshots
Magazine screenshotsasmediad14
 
Android tutorials7 calculator
Android tutorials7 calculatorAndroid tutorials7 calculator
Android tutorials7 calculatorVlad Kolesnyk
 
Make better apps - Guide for Better UX
Make better apps - Guide for Better UXMake better apps - Guide for Better UX
Make better apps - Guide for Better UXDhaval Jani
 
How to create ui using droid draw
How to create ui using droid drawHow to create ui using droid draw
How to create ui using droid drawinfo_zybotech
 
How to create_your_own_android_app
How to create_your_own_android_appHow to create_your_own_android_app
How to create_your_own_android_appCharo Cuart
 
Beginning iOS 7 Development Exploring the iOS SDKby Jack .docx
Beginning iOS 7 Development Exploring the iOS SDKby Jack .docxBeginning iOS 7 Development Exploring the iOS SDKby Jack .docx
Beginning iOS 7 Development Exploring the iOS SDKby Jack .docxjasoninnes20
 
App Inventor : Getting Started Guide
App Inventor : Getting Started GuideApp Inventor : Getting Started Guide
App Inventor : Getting Started GuideVasilis Drimtzias
 
Mobile Audio Synthesiser - Final Year Thesis
Mobile Audio Synthesiser - Final Year ThesisMobile Audio Synthesiser - Final Year Thesis
Mobile Audio Synthesiser - Final Year ThesisSean Rooney
 
Evaluation 6
Evaluation 6Evaluation 6
Evaluation 6ASgroup9
 
9.5 Group 3
9.5 Group 39.5 Group 3
9.5 Group 3scorkery
 
Apps for good final presentation Blue Sky 2000
Apps for good final presentation Blue Sky 2000Apps for good final presentation Blue Sky 2000
Apps for good final presentation Blue Sky 2000BlueSky2OOO
 
Tat learning applications en
Tat learning applications enTat learning applications en
Tat learning applications enToni Setyawan
 
Presentation47.pptx
Presentation47.pptxPresentation47.pptx
Presentation47.pptxReecePulham
 

Ähnlich wie Youth-Led Tech Curriculum Day 21 (20)

App Icon
App IconApp Icon
App Icon
 
I have adream
I have adreamI have adream
I have adream
 
I have adream
I have adreamI have adream
I have adream
 
Magazine screenshots
Magazine screenshotsMagazine screenshots
Magazine screenshots
 
Android tutorials7 calculator
Android tutorials7 calculatorAndroid tutorials7 calculator
Android tutorials7 calculator
 
Make better apps - Guide for Better UX
Make better apps - Guide for Better UXMake better apps - Guide for Better UX
Make better apps - Guide for Better UX
 
How to create ui using droid draw
How to create ui using droid drawHow to create ui using droid draw
How to create ui using droid draw
 
How to create_your_own_android_app
How to create_your_own_android_appHow to create_your_own_android_app
How to create_your_own_android_app
 
Beginning iOS 7 Development Exploring the iOS SDKby Jack .docx
Beginning iOS 7 Development Exploring the iOS SDKby Jack .docxBeginning iOS 7 Development Exploring the iOS SDKby Jack .docx
Beginning iOS 7 Development Exploring the iOS SDKby Jack .docx
 
App Inventor : Getting Started Guide
App Inventor : Getting Started GuideApp Inventor : Getting Started Guide
App Inventor : Getting Started Guide
 
ADD Final Paper
ADD Final PaperADD Final Paper
ADD Final Paper
 
Mobile Audio Synthesiser - Final Year Thesis
Mobile Audio Synthesiser - Final Year ThesisMobile Audio Synthesiser - Final Year Thesis
Mobile Audio Synthesiser - Final Year Thesis
 
Evaluation 6
Evaluation 6Evaluation 6
Evaluation 6
 
Hopscotch.docx
Hopscotch.docxHopscotch.docx
Hopscotch.docx
 
9.5 Group 3
9.5 Group 39.5 Group 3
9.5 Group 3
 
Apps for good final presentation Blue Sky 2000
Apps for good final presentation Blue Sky 2000Apps for good final presentation Blue Sky 2000
Apps for good final presentation Blue Sky 2000
 
Tat learning applications en
Tat learning applications enTat learning applications en
Tat learning applications en
 
iPad for Beginners
iPad for BeginnersiPad for Beginners
iPad for Beginners
 
Marketing
MarketingMarketing
Marketing
 
Presentation47.pptx
Presentation47.pptxPresentation47.pptx
Presentation47.pptx
 

Mehr von Smart Chicago Collaborative

Microsoft DigiSeniors Module: Computing with Confidence
Microsoft DigiSeniors Module: Computing with ConfidenceMicrosoft DigiSeniors Module: Computing with Confidence
Microsoft DigiSeniors Module: Computing with ConfidenceSmart Chicago Collaborative
 
Inclusive Smart Cities - Net Inclusion 2017 Presentation
Inclusive Smart Cities - Net Inclusion 2017 PresentationInclusive Smart Cities - Net Inclusion 2017 Presentation
Inclusive Smart Cities - Net Inclusion 2017 PresentationSmart Chicago Collaborative
 
5.20.17 Community Technology Forum at Windsor Park Lutheran Evangelical Church
5.20.17 Community Technology Forum at Windsor Park Lutheran Evangelical Church5.20.17 Community Technology Forum at Windsor Park Lutheran Evangelical Church
5.20.17 Community Technology Forum at Windsor Park Lutheran Evangelical ChurchSmart Chicago Collaborative
 
Final Report for CUTGroup #28 - City of Chicago Open Data Portal Homepage
Final Report for CUTGroup #28 - City of Chicago Open Data Portal HomepageFinal Report for CUTGroup #28 - City of Chicago Open Data Portal Homepage
Final Report for CUTGroup #28 - City of Chicago Open Data Portal HomepageSmart Chicago Collaborative
 
Juvenile Expungement Presentation to The Chicago Community Trust
Juvenile Expungement Presentation to The Chicago Community TrustJuvenile Expungement Presentation to The Chicago Community Trust
Juvenile Expungement Presentation to The Chicago Community TrustSmart Chicago Collaborative
 
CUTGroup Detroit Slides for CUTGroup Collective Call
CUTGroup Detroit Slides for CUTGroup Collective CallCUTGroup Detroit Slides for CUTGroup Collective Call
CUTGroup Detroit Slides for CUTGroup Collective CallSmart Chicago Collaborative
 
2016 Smart Chicago Collaborative Youth-Led Tech Instructors
2016 Smart Chicago Collaborative Youth-Led Tech Instructors2016 Smart Chicago Collaborative Youth-Led Tech Instructors
2016 Smart Chicago Collaborative Youth-Led Tech InstructorsSmart Chicago Collaborative
 

Mehr von Smart Chicago Collaborative (20)

Chicago School of Data Book
Chicago School of Data BookChicago School of Data Book
Chicago School of Data Book
 
10/18/17 Array of Things Public Meeting Flyer
10/18/17 Array of Things Public Meeting Flyer10/18/17 Array of Things Public Meeting Flyer
10/18/17 Array of Things Public Meeting Flyer
 
Microsoft DigiSeniors Module: Computing with Confidence
Microsoft DigiSeniors Module: Computing with ConfidenceMicrosoft DigiSeniors Module: Computing with Confidence
Microsoft DigiSeniors Module: Computing with Confidence
 
DigiSeniors Curriculum - Leaders Guide
DigiSeniors Curriculum - Leaders GuideDigiSeniors Curriculum - Leaders Guide
DigiSeniors Curriculum - Leaders Guide
 
Inclusive Smart Cities - Net Inclusion 2017 Presentation
Inclusive Smart Cities - Net Inclusion 2017 PresentationInclusive Smart Cities - Net Inclusion 2017 Presentation
Inclusive Smart Cities - Net Inclusion 2017 Presentation
 
5.20.17 Community Technology Forum at Windsor Park Lutheran Evangelical Church
5.20.17 Community Technology Forum at Windsor Park Lutheran Evangelical Church5.20.17 Community Technology Forum at Windsor Park Lutheran Evangelical Church
5.20.17 Community Technology Forum at Windsor Park Lutheran Evangelical Church
 
Juvenile Expungement Help Desk Presentation
Juvenile Expungement Help Desk PresentationJuvenile Expungement Help Desk Presentation
Juvenile Expungement Help Desk Presentation
 
Quick facts about Juvenile Expungement
Quick facts about Juvenile ExpungementQuick facts about Juvenile Expungement
Quick facts about Juvenile Expungement
 
LAF Chicago Juvenile Expungement Clinics
LAF Chicago Juvenile Expungement ClinicsLAF Chicago Juvenile Expungement Clinics
LAF Chicago Juvenile Expungement Clinics
 
Juvenile Expungement Help Desk Flyer
Juvenile Expungement Help Desk FlyerJuvenile Expungement Help Desk Flyer
Juvenile Expungement Help Desk Flyer
 
Final Report for CUTGroup #28 - City of Chicago Open Data Portal Homepage
Final Report for CUTGroup #28 - City of Chicago Open Data Portal HomepageFinal Report for CUTGroup #28 - City of Chicago Open Data Portal Homepage
Final Report for CUTGroup #28 - City of Chicago Open Data Portal Homepage
 
Juvenile Expungement Presentation to The Chicago Community Trust
Juvenile Expungement Presentation to The Chicago Community TrustJuvenile Expungement Presentation to The Chicago Community Trust
Juvenile Expungement Presentation to The Chicago Community Trust
 
CUTGroup Detroit Slides for CUTGroup Collective Call
CUTGroup Detroit Slides for CUTGroup Collective CallCUTGroup Detroit Slides for CUTGroup Collective Call
CUTGroup Detroit Slides for CUTGroup Collective Call
 
Final Report for CUTGroup #24 - OpenGrid
Final Report for CUTGroup #24 - OpenGridFinal Report for CUTGroup #24 - OpenGrid
Final Report for CUTGroup #24 - OpenGrid
 
2016 Smart Chicago Collaborative Youth-Led Tech Instructors
2016 Smart Chicago Collaborative Youth-Led Tech Instructors2016 Smart Chicago Collaborative Youth-Led Tech Instructors
2016 Smart Chicago Collaborative Youth-Led Tech Instructors
 
Interview template
Interview templateInterview template
Interview template
 
Component type
Component typeComponent type
Component type
 
App template
App templateApp template
App template
 
App inventor basics
App inventor basicsApp inventor basics
App inventor basics
 
Goal setting
Goal settingGoal setting
Goal setting
 

Kürzlich hochgeladen

Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 

Kürzlich hochgeladen (20)

Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 

Youth-Led Tech Curriculum Day 21

  • 1. Youth-Led Tech Curriculum Day 21: App Inventor Basics Content Goals: Youth will learn the components of building an app and will start building their own app. Leadership Goals: Team-building activities with a focus on communication Materials: Worksheet 10:00 AM Sign-in Use the online attendance sheet to mark students as present and note any issues. 10:05 AM Mood Check/Icebreaker Question It’s important to start every session with an opening activity, such as a Mood Check-in, where students state their mood on a scale of 1-10. We often pair this with an icebreaker question that each student answers. 10:15 AM Screamer In a circle, people look at ground, then on "heads up" look into someone else's eyes. If 2 people are looking at each other, they scream and are both out. Continue to see who is last - hilarious.
  • 2. 2 10:45 AM App Inventor Basics The Designer The Designer allows you to choose functionality and to change the look and feel of your app. It has four parts: Palette, Viewer, Components, and Properties. Properties. With the Palette, you choose your components (buttons, phone calls, texting, camera, location sensors, and more). Whatever you want your app to do, just drag from the Palette to the Viewer. The Viewer organizes your components, and shows you what they will look like on the phone. The Components section lists all the components in your app, in the order they appear in the Viewer. You can click the components to rename or delete. There’s also a Media section, which you can use to upload images and audio. With Properties, you customize the components. Click the component, and you can change the color, text, height, visibility, and more. Blocks The Blocks are the back-end, where we tell the app what to do. Each component from the palette has a set of blocks that you can use to change the properties of each block, and add new functionality to your app. There are also blocks that are built in, and come with every app. 11:10 AM Designer: Set up the components
  • 3. 3 Use the Designer to create the user interface – the design of your app. When you are done, it should look something like the picture below. To build that user interface, drag these components from the Palette into the Viewer, and change their properties. Component type Palette group What you will name it Purpose/ Properties Label User Interface headerLabel The name of the app/ set text to “Hip Hop History”, set background color to red, set text color to white, set width to fill parent Label User Interface titleLabel holds the name of the musical genres (e.g., blues, funk) you’ll be featuring/ set text to “Genre”
  • 4. 4 Label User Interface locationLabel holds the name of the location/ set text to “Location” Button User Interface PlayButton clicks to play audio and show the image of the genre/ set width and height to 50px Vertical Arrangement Layout Vertical Arrangement Give some layout design/ drag the titleLabel and put it inside, then the LocationLabel inside Horizontal Arrangement Layout Horizontal Arrangement Give some layout design/ set width to fill parent, then drag the PlayButton inside and the vertical arrangement (they should be side by side) WebViewer User Interface WebViewer1 Shows the map/ Set width to fill parent, and height to 300px Label User Interface yearLabel Holds the year of the genre/
  • 5. 5 set text to “Year” Slider User Interface Slider1 Slide to change content/ set width to 300px, set min value to 1, set max value to 5, set ThumbPosition to 1, Player Media Player1 Plays Audio 12 NOON Lunch 1:00 PM Avoiding 21 Get into a circle, the group is going to count around the circle up to 21. The person who is forced to say 21 is “out”. Each person can say one, two, or three numbers in a row. For example, 1st Person “1,2”; 2nd Person “4,5,6” 3rd Person ,“7”, etc. 1:20 PM Typing club 1. Log on to http://youthledtech.typingclub.com 2. Allow youth to practice/develop their typing skills. This could be a useful time for facilitators to catch up on paperwork or setup for the next activity 3. Facilitators can track the students progress to make sure that they are actually on the right site 2:10 PM Break 2:20 PM Upload Media Remember, our app traces musical genres that laid the foundation for Hip Hop by displaying an image representing each genre and sampling a piece of music from that genre. To play the music and show the image, you need to upload them into your app. You add the media elements by clicking Upload. Click here to download the audio and images used in this tutorial, but as noted at the beginning, you can always change these elements to fit your project’s focus (or your sense of music
  • 6. 6 history!). Blocks: Let’s Program So…we want content to change when the user moves the slider. But what content do we want to change? We want the image, audio, location, and time period to change. How does the app “hold”all that information? With variables and lists. What’s a Variable? Variables are ways to store values to use later. A global variable is a variable that can be accessed anywhere in the code. Global variables are created using the “initialize global name” block found in the Variables drawer. This block allows you to create a new variable, to which you can assign any value: This block provides a way to get any variables you may have created. Once a variable (v) is selected, the user can attach a new block and set (v) to a new value. What’s a List? A list is a way to organize multiple variables or items. Why Would We Use a List? For each time period in our app, we want the image, location, title, and time period to change. We need a way to group and order all those items.
  • 7. 7 A list allows us to organize each piece of information, and move up and down the items. We want the time period to change, so let’s start with that list first. Start by creating a variable, and name it yearList. Then attach a “make a list”block (from built-in text), click the dark blue square to add a total of 5 items. Then connect a text block (from text) into each socket. Then type in the years (as listed in the image). Make sure that the content is in order. Now create a list for each piece of content that you want to change. The content needs to appear in the same order in every list. Lists – Year, Genre, Audio, Image, Location, Map: Year list – list years : 1920, 1920, 1960, 1980, 1990 Genre list – lists the different genres of music : Blues, Jazz, Funk, Rap, Gangsta Rap Audio list – list the names of the music files : blues.m4a, jazz.m4a, funk.m4a, rap.m4a, Grap.m4a Image list – list the names of the png files : blues.png, jazz.jpeg, funk.jpeg, rap.jpeg, gRap.jpeg Location list- list the name of the locations: Deep South USA, New Orleans, Atlanta, New York, Los Angeles Map list- list the URLs of Google Maps of the locations. You get the URL by going to Google Maps, typing in a location, then clicking the X next to the city name. Next go down to the settings gear in the bottom right, click the Share option and by checking the Short URL you get these URLs: https://goo.gl/maps/JG7QP https://goo.gl/maps/TG6EK https://goo.gl/maps/Ze5yv https://goo.gl/maps/Crv5q https://goo.gl/maps/5DYNY If you click these links, you will see the map in Google Maps. These are the URLs we used, but you should encourage your students to go to Google Maps, and type the location. If you wanted to use different locations, you do the same steps, just type in cities you would prefer. Your completed list should look like this:
  • 8. 8 Navigating the List: The Index The index tells you where you are in the list. So if the index is 3, then it is referring to the year 1980. If the index is 5, then it is referring to the year 1900′s. Pretty simple, right? Connecting the Components to the List Now that we have multiple lists, we need to connect the lists to the components in the Designer. First we need to think about when the index will change. Which action or event will cause the information to change? There are many events that could trigger the information to change, for example a button clicking or even a timer. In this app, we will be using the slider to navigate among all the content. So let’s look into the Slider component… We want the YearLabel to select an item from the YearList. First grab the set YearLabel.text block – because we want to change the text. Next clock Lists from built in, and grab a select list item block. The select list item block will have two empty sockets – list and
  • 9. 9 index. For list, we want to connect the corresponding yearList. To do this, we go into variable, grab a get block and click the drop down to select global yearList. Earlier, we introduced the index, which lets you know where you are in the list. If we typed 2, it would go to the second item. But for this app, we want the index to change when the user moves the slider. In App Inventor, we call this the thumb position. The thumb position lets you know where on the slider you are. Let’s click the slider component, grab the light green Slider1.ThumbPosition, and connect to the index socket. For every label component, we want the content to come from the same index in each list, so for each line we will use “Slider1.ThumbPosition” for the index. It should look like this… Connect the Rest For all the labels (yearLabel, titleLabel, locationLabel), we want to change the text. For the Play button we want to change the image, so we click on our Play Button component and select set PlayButton.Image to …then connect the select item. The list will be the imageList. For the Player we want to change the source, so click the player component and drag out the set Player.Source to and follow the same steps as above. What list are you going to connect to? For webviewer.1, we want to change the URL. Click the component and look for WebViewer1.GoToUrl. Follow the same steps as above.
  • 10. 10 Almost Done! But let’s play some music… Finally, when the PlayButton is clicked, we want to hear a sample of music from that time period. We already connected the audio files to the player source, but we did not yet tell the app when to start playing the audio. Player What do we want to happen? Click the button and the audio plays… So select the PlayButton from the components, then grab the when PlayButton.Click block. Then select the player component and grab the call Player.Start block (it should be purple). Connect these two. It should look like this: Now Test Your App! On your phone, download the AI Companion app. Click Connect, then AI Companion. A QR code should pop up, and scan the QR code or type in the code. You can also download the app, by clicking Build. You can either use the QR code or you can download the app, and email to yourself. Remix it with different information!
  • 11. 11 3:40 PM Thunder Props reflection 1. Everyone log on to your Twitter account 2. Today we are going to give props to our peers in the #youthledtech program 3. We have created a prompt for you to fill in on your Twitter account and on 3 we will all send our tweets at the same time. a. PROMPT: “My app will address_______ because ___________ #youthledtech” b. Make sure they use the hashtag so that we can view all of the tweets 4. READY?? 5. After you read the prompt give students 1 minute to complete and tell them to raise their hand once they have typed their message. Tell them “DO NOT hit send until I say so.” 6. Once everyone has constructed their tweet then count down 3, 2, 1, SEND!! 7. Read a few tweets from the screen and then do a live Thunder clap. 3:55 PM Sign out Make sure each youth is accounted for.
  • 12. 12
  • 13. 13