Getting Started with AWS

Build an Android Application

Create a simple Android application using AWS Amplify

Introduction: Build an Android Application

Follow step-by-step instructions to build your first Android application.

Overview

In this tutorial, you will create a simple Android application using AWS Amplify, a set of tools and serverless services in the cloud. In the first module, you’ll build a simple Android application. Through the remaining modules, you will initialize a local app using the Amplify Command Line Interface (Amplify CLI), add user authentication, add a GraphQL API and a database to store your data, and update your app to store images.

What You Will Learn

This tutorial will walk you through the steps to create a simple Android application discussed above. You will learn to:

  • Manage serverless cloud backend from the command line
  • Add auth to your app to enable sign-in and sign-out
  • Add a GraphQL API, database, and storage solution
  • Share your backend between multiple projects.

 AWS Experience

Beginner

 Time to Complete

60 minutes

 Cost to Complete

Free Tier eligible

 Tutorial Prereqs

 
You can install these tools on Linux and Mac. Please see the instructions.

[*]Accounts created within the past 24 hours might not yet have access to the services required for this tutorial.

Modules

This tutorial is divided into five short modules. You must complete each module in order, before moving on to the next one.

  1. Create an Android App (10 minutes): Create an Android app and test it in the Android simulator
  2. Initialize a Local App (10 minutes): Initialize a local app using AWS Amplify.
  3. Add Authentication (10 minutes): Add auth to your application.
  4. Add a GraphQL API and Database (20 minutes): Create a GraphQL API.
  5. Add the Ability to Store Images (10 minutes): Add storage to your app.

You will be building this Android application using the Terminal and Google's Android Studio IDE.

Create an Android App