Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Online Course

Build a Simple Android App

via Treehouse


This project covers the very basics of Android development. We will build a simple app that will serve up some fun facts when you tap on a button. We introduce the Java programming language, a tool for Android development called Android Studio, and some very basic concepts of the Android Software Development Kit, or SDK. By the end you will have a good idea of how a basic app works, and you will be armed with the knowledge to start building more.


What you'll learn

  • Android Studio
  • Using an emulator or device
  • Java basics
  • Screen layouts
  • Android Views and Activities


Getting Started with Android 

Making an Android app is easier than you think, and we'll show you how! Learn how to set up and use a few free tools to make a simple Fun Facts app that you can test on your computer. You don't even need an Android phone!

Creating the Screen Layout

Before we start writing any code, let's create the simple screen layout we will use to display our fun facts.

Basic Android Programming

Android apps are typically written in a programming language called Java. Let's take a deeper look at the Java concepts we need to make our button do something.

Coding the Fun Facts

Everything is set for us to add the fun facts to our app. In this stage we'll update the button to pick a new fact and change the color.

Improving Our Code

In this stage we will take a moment to "refactor" our code, which means we'll change a few things and organize it a little better without changing how it works. Then we'll add a new class to help us change the background color for each fact.

Testing and Debugging

We can't always see what's going on behind the scenes of our app, so in this stage we'll learn how to use a few tools to monitor how the Fun Facts app is working and to troubleshoot problems. We'll also see how to run it on a real phone.

Related Courses


0.0 rating, based on 0 reviews

Start your review of Build a Simple Android App

Never stop learning Never Stop Learning!

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free