SlideShare a Scribd company logo
1 of 10
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Building Native Android Apps
Using AWS Amplify CLI & AWS
AppSync
Pop-up Loft
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Prerequisites
• Android Studio installed and SDK (level 26 or higher
preferred) configured
• Being able to run a sample app in an emulator
• Knowledge of Android app development
• If not, don't worry - This could be your first Android app!
• An AWS account
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
• Brief introduction to AWS Amplify CLI
• Build an Android App yourself to:
• Display a list of Pets
• Add a Pet (online and offline)
• Be notified when other Pets are added
• Add a photo of your Pet (if time permitting)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Amplify
CLI
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
subscription {
onCreatePost{
id
}
}
mutation {
createPost(title:”Hello”){
id
}
}
query {
getPost(id: 1){
id
title
}
}
Queries
Read Data
Mutations
Write Data
Subscriptions
Receive Data in Real-Time
GraphQL Operations
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
subscription {
onCreatePost{
id
}
}
mutation {
createPost(title:”Hello”){
id
}
}
query {
getPost(id: 1){
id
title
}
}
Queries
Read Data
Mutations
Write Data
Subscriptions
Receive Data in Real-Time
GraphQL Operations
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
GraphQL Transformer
type Post {
id: ID!
title: String
content: String
}
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Let's start building!
• Walkthrough steps are here:
https://github.com/janeshenamazon/amplify-android
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thank you
Building Native Android Apps Using AWS Amplify CLI & AWS AppSync
aws.amazon.com/mobile
@AWSforMobile

More Related Content

What's hot

Api strategy and practice
Api strategy and practiceApi strategy and practice
Api strategy and practice
ritc
 
Remixes for local government
Remixes for local governmentRemixes for local government
Remixes for local government
christophfricke
 

What's hot (20)

How WeatherBug Created a Mobile AR App with Amazon Sumerian (ARV352-R1) - AWS...
How WeatherBug Created a Mobile AR App with Amazon Sumerian (ARV352-R1) - AWS...How WeatherBug Created a Mobile AR App with Amazon Sumerian (ARV352-R1) - AWS...
How WeatherBug Created a Mobile AR App with Amazon Sumerian (ARV352-R1) - AWS...
 
Community day _aws_ci_cd_v0.2
Community day _aws_ci_cd_v0.2Community day _aws_ci_cd_v0.2
Community day _aws_ci_cd_v0.2
 
Hands-On Lab: Break a Monolith Application into Microservices: Database Week SF
Hands-On Lab: Break a Monolith Application into Microservices: Database Week SFHands-On Lab: Break a Monolith Application into Microservices: Database Week SF
Hands-On Lab: Break a Monolith Application into Microservices: Database Week SF
 
Build and Collaborate on a Modern Web Application on AWS - SRV403 - Atlanta A...
Build and Collaborate on a Modern Web Application on AWS - SRV403 - Atlanta A...Build and Collaborate on a Modern Web Application on AWS - SRV403 - Atlanta A...
Build and Collaborate on a Modern Web Application on AWS - SRV403 - Atlanta A...
 
AWS Stockholm Summit 19- Building serverless applications with GraphQL
AWS Stockholm Summit 19- Building serverless applications with GraphQLAWS Stockholm Summit 19- Building serverless applications with GraphQL
AWS Stockholm Summit 19- Building serverless applications with GraphQL
 
Manage Your Akamai-as-Code with Terraform
Manage Your Akamai-as-Code with TerraformManage Your Akamai-as-Code with Terraform
Manage Your Akamai-as-Code with Terraform
 
AWS CodeStar | Edureka
AWS CodeStar | EdurekaAWS CodeStar | Edureka
AWS CodeStar | Edureka
 
apidays LIVE JAKARTA - How to build a community around your Open Source proje...
apidays LIVE JAKARTA - How to build a community around your Open Source proje...apidays LIVE JAKARTA - How to build a community around your Open Source proje...
apidays LIVE JAKARTA - How to build a community around your Open Source proje...
 
Hands-on Lab: Upgrading & Consolidating MySQL
Hands-on Lab: Upgrading & Consolidating MySQLHands-on Lab: Upgrading & Consolidating MySQL
Hands-on Lab: Upgrading & Consolidating MySQL
 
Akamai-as-Code with The Washington Post
Akamai-as-Code with The Washington PostAkamai-as-Code with The Washington Post
Akamai-as-Code with The Washington Post
 
AWS Canberra User Group - August 2019 Intro
AWS Canberra User Group - August 2019 IntroAWS Canberra User Group - August 2019 Intro
AWS Canberra User Group - August 2019 Intro
 
Api strategy and practice
Api strategy and practiceApi strategy and practice
Api strategy and practice
 
Amazon and Region Build Engineering
Amazon and Region Build EngineeringAmazon and Region Build Engineering
Amazon and Region Build Engineering
 
Building and Deploying Your First Serverless Application
Building and Deploying Your First Serverless ApplicationBuilding and Deploying Your First Serverless Application
Building and Deploying Your First Serverless Application
 
Set up a Development Environment in 5 Minutes
Set up a Development Environment in 5 MinutesSet up a Development Environment in 5 Minutes
Set up a Development Environment in 5 Minutes
 
Top 10 Reasons to Learn AWS | Why AWS? | AWS Tutorial for Beginners | AWS Tra...
Top 10 Reasons to Learn AWS | Why AWS? | AWS Tutorial for Beginners | AWS Tra...Top 10 Reasons to Learn AWS | Why AWS? | AWS Tutorial for Beginners | AWS Tra...
Top 10 Reasons to Learn AWS | Why AWS? | AWS Tutorial for Beginners | AWS Tra...
 
Deep-Dive: Developing Mobile Web Applications with AWS
Deep-Dive: Developing Mobile Web Applications with AWSDeep-Dive: Developing Mobile Web Applications with AWS
Deep-Dive: Developing Mobile Web Applications with AWS
 
Remixes for local government
Remixes for local governmentRemixes for local government
Remixes for local government
 
深入淺出學習雲端開發軟件 AWS Cloud9
深入淺出學習雲端開發軟件 AWS Cloud9深入淺出學習雲端開發軟件 AWS Cloud9
深入淺出學習雲端開發軟件 AWS Cloud9
 
Hands-on Lab: Using a Property Graph
Hands-on Lab: Using a Property GraphHands-on Lab: Using a Property Graph
Hands-on Lab: Using a Property Graph
 

Similar to Building Native Android Apps Using AWS Amplify CLI & AWS AppSync

AWS Serverless Webinar- Unleash Innovation & Build Modern Application
AWS Serverless Webinar- Unleash Innovation & Build Modern ApplicationAWS Serverless Webinar- Unleash Innovation & Build Modern Application
AWS Serverless Webinar- Unleash Innovation & Build Modern Application
Amazon Web Services
 

Similar to Building Native Android Apps Using AWS Amplify CLI & AWS AppSync (20)

Building Mobile Apps with AWS Amplify
Building Mobile Apps with AWS AmplifyBuilding Mobile Apps with AWS Amplify
Building Mobile Apps with AWS Amplify
 
Building Mobile Apps with AWS Amplify
Building Mobile Apps with AWS AmplifyBuilding Mobile Apps with AWS Amplify
Building Mobile Apps with AWS Amplify
 
Developing Serverless Application on AWS
Developing Serverless Application on AWSDeveloping Serverless Application on AWS
Developing Serverless Application on AWS
 
Update Your Developer Workflow for Cloud-Enabled Mobile Apps (MOB315-R1) - AW...
Update Your Developer Workflow for Cloud-Enabled Mobile Apps (MOB315-R1) - AW...Update Your Developer Workflow for Cloud-Enabled Mobile Apps (MOB315-R1) - AW...
Update Your Developer Workflow for Cloud-Enabled Mobile Apps (MOB315-R1) - AW...
 
Developing & Testing Your Hybrid Mobile App with AWS MobileHUB & AWS Amplify ...
Developing & Testing Your Hybrid Mobile App with AWS MobileHUB & AWS Amplify ...Developing & Testing Your Hybrid Mobile App with AWS MobileHUB & AWS Amplify ...
Developing & Testing Your Hybrid Mobile App with AWS MobileHUB & AWS Amplify ...
 
Serverless Application Debugging and Delivery Best Practices (DEV307-R1) - AW...
Serverless Application Debugging and Delivery Best Practices (DEV307-R1) - AW...Serverless Application Debugging and Delivery Best Practices (DEV307-R1) - AW...
Serverless Application Debugging and Delivery Best Practices (DEV307-R1) - AW...
 
Developing and Implementing APIs at Scale, the Servless Way - Ed Lima - AWS T...
Developing and Implementing APIs at Scale, the Servless Way - Ed Lima - AWS T...Developing and Implementing APIs at Scale, the Servless Way - Ed Lima - AWS T...
Developing and Implementing APIs at Scale, the Servless Way - Ed Lima - AWS T...
 
Building Mobile Apps with AWS Amplify - Nader Dabit
Building Mobile Apps with AWS Amplify - Nader DabitBuilding Mobile Apps with AWS Amplify - Nader Dabit
Building Mobile Apps with AWS Amplify - Nader Dabit
 
Build your APPs in Lean and Agile Way using AWS Amplify
Build your APPs in Lean and Agile Way using AWS AmplifyBuild your APPs in Lean and Agile Way using AWS Amplify
Build your APPs in Lean and Agile Way using AWS Amplify
 
AWS Serverless Webinar- Unleash Innovation & Build Modern Application
AWS Serverless Webinar- Unleash Innovation & Build Modern ApplicationAWS Serverless Webinar- Unleash Innovation & Build Modern Application
AWS Serverless Webinar- Unleash Innovation & Build Modern Application
 
Building your first GraphQL API with AWS AppSync
Building your first GraphQL API with AWS AppSyncBuilding your first GraphQL API with AWS AppSync
Building your first GraphQL API with AWS AppSync
 
Building your First GraphQL API with AWS AppSync
Building your First GraphQL API with AWS AppSyncBuilding your First GraphQL API with AWS AppSync
Building your First GraphQL API with AWS AppSync
 
Nader Dabit - Intro to AWS AppSync.pdf
Nader Dabit - Intro to AWS AppSync.pdfNader Dabit - Intro to AWS AppSync.pdf
Nader Dabit - Intro to AWS AppSync.pdf
 
Intro to AWS Amplify Toolchain: Mobile Week SF
Intro to AWS Amplify Toolchain: Mobile Week SFIntro to AWS Amplify Toolchain: Mobile Week SF
Intro to AWS Amplify Toolchain: Mobile Week SF
 
Forza Computazionale e Applicazioni Serverless
Forza Computazionale e Applicazioni ServerlessForza Computazionale e Applicazioni Serverless
Forza Computazionale e Applicazioni Serverless
 
Introduction to AWS Amplify CLI
Introduction to AWS Amplify CLIIntroduction to AWS Amplify CLI
Introduction to AWS Amplify CLI
 
Introduction to AWS Amplify and the Amplify CLI Toolchain
Introduction to AWS Amplify and the Amplify CLI ToolchainIntroduction to AWS Amplify and the Amplify CLI Toolchain
Introduction to AWS Amplify and the Amplify CLI Toolchain
 
Ci/CD for AWS Lambda Projects - JLM CTO Club
Ci/CD for AWS Lambda Projects - JLM CTO ClubCi/CD for AWS Lambda Projects - JLM CTO Club
Ci/CD for AWS Lambda Projects - JLM CTO Club
 
CI/CD for AWS Lambda Projects - IsraelCloud Meetup
CI/CD for AWS Lambda Projects - IsraelCloud MeetupCI/CD for AWS Lambda Projects - IsraelCloud Meetup
CI/CD for AWS Lambda Projects - IsraelCloud Meetup
 
CI/CD pipelines on AWS - Builders Day Israel
CI/CD pipelines on AWS - Builders Day IsraelCI/CD pipelines on AWS - Builders Day Israel
CI/CD pipelines on AWS - Builders Day Israel
 

More from Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Building Native Android Apps Using AWS Amplify CLI & AWS AppSync

  • 1. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Building Native Android Apps Using AWS Amplify CLI & AWS AppSync Pop-up Loft
  • 2. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Prerequisites • Android Studio installed and SDK (level 26 or higher preferred) configured • Being able to run a sample app in an emulator • Knowledge of Android app development • If not, don't worry - This could be your first Android app! • An AWS account
  • 3. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda • Brief introduction to AWS Amplify CLI • Build an Android App yourself to: • Display a list of Pets • Add a Pet (online and offline) • Be notified when other Pets are added • Add a photo of your Pet (if time permitting)
  • 4. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Amplify CLI
  • 5. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 6. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. subscription { onCreatePost{ id } } mutation { createPost(title:”Hello”){ id } } query { getPost(id: 1){ id title } } Queries Read Data Mutations Write Data Subscriptions Receive Data in Real-Time GraphQL Operations
  • 7. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. subscription { onCreatePost{ id } } mutation { createPost(title:”Hello”){ id } } query { getPost(id: 1){ id title } } Queries Read Data Mutations Write Data Subscriptions Receive Data in Real-Time GraphQL Operations
  • 8. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. GraphQL Transformer type Post { id: ID! title: String content: String }
  • 9. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Let's start building! • Walkthrough steps are here: https://github.com/janeshenamazon/amplify-android
  • 10. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thank you Building Native Android Apps Using AWS Amplify CLI & AWS AppSync aws.amazon.com/mobile @AWSforMobile