Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Preview
Start a free Courses trial
to watch this video
Let's see what we are going to build and learn! In this video we will preview the final app, which will allow us to practice key concepts like displaying images, getting input from the user via the keyboard, moving from one Activity to another, and the popular model-view-controller, or MVP pattern for software development.
[MUSIC]
0:00
Hello and welcome.
0:04
My name is Ben, and
I'm excited to show you more fun and
0:05
fundamental concepts of
developing Android apps.
0:08
First things first, this course
builds on the skills you learned in
0:11
the previous course here on
building a simple Android app.
0:14
I highly recommend that take that
course if you haven't already.
0:17
I've added the link to it in the teacher's
notes if you need to check it out.
0:20
When I was a kid,
0:24
one of my favorite types of stories were
choose your own adventure style books,
0:24
where you could make a decision at the end
of every page or two, and experience
0:28
a bunch of different paths of the story,
all leading to different exciting endings.
0:31
I remember sometimes making
the wrong choice, and
0:35
winding up with an ending
I was unhappy with.
0:37
And I'd go backward or retrace my steps
to try and find a happier ending.
0:39
For a while, these kinds of books
were my absolute favorite, and
0:44
I would always get them from a library or
sometimes write my own.
0:46
My own kids are now getting
into these stories.
0:50
In fact, I found one of my
old books in my basement,
0:51
and then lately have been
reading it with my eldest son.
0:54
Now when I thought about the things
I wanted to teach in this course,
0:56
I realized that this style
of book was perfect for
0:59
covering some really important things for
developing Android apps.
1:02
We can use it to illustrate some key
components of Android like displaying
1:05
images, getting input from the user,
moving from one activity to another, and
1:09
how to model our story data using
the popular model view controller,
1:13
or MVC pattern for software development.
1:17
Check out what we're going to build.
1:20
Our interactive story app will
be named Signals From Mars.
1:21
The story will start by asking
the user's name, which we'll save and
1:24
insert a few times in
the text of the story.
1:27
Each page of the story will have an image,
some text, and two choices at the bottom
1:30
allowing the user to navigate
different paths in the story.
1:34
Our story will be very simple,
with only a few steps.
1:37
But we'll build it in such a way
that it'll be easy to extend for
1:40
more complex stories with
more choices at each step.
1:43
I had a lot of fun
preparing this course and
1:47
I hope you have a lot of fun taking it.
1:48
Let's dive in.
1:50
You need to sign up for Treehouse in order to download course files.
Sign up