Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Skip to main content
Getting Started with AWS

Build an Android Application

Create a simple Android application using AWS Amplify

Introduction

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.

Prerequisites

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

Implementation

Beginner

60 minutes

Free Tier eligible

An AWS account

Note: 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

Start Module One