SlideShare a Scribd company logo
1 of 24
Download to read offline
Shay Erlichmen
Google Developer Expert - Cloud
CTO Samba.me
Building Cloud-Powered
Android Applications
Agenda: June 12th
, 2014
Overview: Android Studio and Google Cloud Endpoints
Demo: adding a Cloud backend to an Android app in 15 minutes!
Future directions
Questions and answers
1
2
3
4
Agenda: June 12th
, 2014
Overview: Android Studio and Google Cloud Endpoints1
2
3
4
Demo: adding a Cloud backend to an Android app in 15 minutes!
Future directions
Questions and answers
Download – Android Studio Early Access Preview:
http://developer.android.com/sdk!
Android Studio
An open-source IDE built for Android
• Based on IntelliJ IDEA with coding
assistance tools to help write Java code
• Integrated visual and layout designer
• Large number of bundled static code
analysis tools (Lint) to help build quality
apps
• Integrated with Gradle to enable one build
across dev environment (IDE, command
line, CI server)
Google Cloud Endpoints
Extremely simple way to build server side logic on full
power, management free Google App Engine platform
• Uses App Engine’s auto-scaling and high-availability
• Uses auto-generated, strongly typed, mobile optimized client
libraries for Android, iOS and web.
• Exposes standards based REST interfaces with built-in
authorization
Mobile Backend Running on
Google App Engine Instances
Mobile Backend Running on
Google App Engine Instances
Mobile Backend Running on
Google App Engine Instances
Taking the plumbing out of API programming
Cloud
Endpoints
Clients
Taking the complexity out of multi-client development
Mobile Backend Running on
Google App Engine Instances
Mobile Backend Running on
Google App Engine Instances
Mobile Backend Running on
Google App Engine Instances
Cloud
Endpoints
Clients
Taking the risk out of API development
Mobile Backend Running on
Google App Engine Instances
Mobile Backend Running on
Google App Engine Instances
Mobile Backend Running on
Google App Engine Instances
Cloud
Endpoints
Clients
Android Studio + Cloud Endpoints
Easiest way for mobile developers to
connect to Google Cloud Platform
• Create Google App Engine backends in
Android Studio
• Generate Java-specific bindings for use in
Android app
• Benefit from as-you-type validations and
quick-fixes when defining the backend API
• Use App Engine-specific Gradle tooling that
allows for a unified client/backend build
Easiest way to connect to Google Cloud Platform
Agenda: June 12th
, 2014
Overview: Android Studio and Google Cloud Endpoints1
2
3
4
Demo: adding a Cloud backend to an Android app in 15 minutes!
Future directions
Questions and answers
Todo.txt: a simple to-do task management app
...which is loved by Play Store users
...and best of all, it’s open-sourced!
Images by Connie Zhou
Demo: adding a Google Cloud backend to Todo.txt!
getTask().execute()
Cloud Datastore
App Engine backend
CloudEndpoints
Todo.txt app
ClientLibraries
Demo Architecture
pullFromRemote
pushToRemote storeTask().execute()
query.get() transaction.commit()
getTask().execute()
Cloud Datastore
App Engine backend
CloudEndpoints
Todo.txt app
ClientLibraries
Demo Architecture
storeTask().execute()
query.get() transaction.commit()
getTask().execute()
Cloud Datastore
App Engine backend
CloudEndpoints
Todo.txt app
ClientLibraries
Demo Architecture
storeTask().execute()
query.get() transaction.commit()
getTask().execute()
Cloud Datastore
App Engine backend
CloudEndpoints
Todo.txt app
ClientLibraries
Demo Architecture
storeTask().execute()
query.get() transaction.commit()
getTask().execute()
Cloud Datastore
App Engine backend
CloudEndpoints
Todo.txt app
ClientLibraries
Demo Architecture
storeTask().execute()
query.get() transaction.commit()
getTask().execute()
Cloud Datastore
App Engine backend
CloudEndpoints
Todo.txt app
ClientLibraries
Demo Architecture
pullFromRemote
pushToRemote storeTask().execute()
query.get() transaction.commit()
Agenda: June 12th
, 2014
Overview: Android Studio and Google Cloud Endpoints
Demo: adding a Cloud backend to an Android app in 15 minutes!
Future directions
1
2
3
4 Questions and answers
… but more details in Google I/O ‘14!
What’s coming next?
API Management
Console
Improved getting
started experience
Third party API
clients access
API Analytics
Cloud Endpoints
Support for
GCE
Agenda: June 12th
, 2014
Overview: Android Studio and Google Cloud Endpoints
Demo: adding a Cloud backend to an Android app in 15 minutes!
Future directions
1
2
3
4 Questions and answers
Images by Connie Zhou
Google Cloud Platform
Android Studio
Google Cloud Endpoints
Google App Engine plug-in for Gradle
cloud.google.com
developer.android.com/sdk
cloud.google.com/endpoints
github.com/GoogleCloudPlatform/
gradle-appengine-plugin
Useful Links

More Related Content

Viewers also liked

Quantitative reseach method
Quantitative reseach methodQuantitative reseach method
Quantitative reseach method
metalkid132
 
Survey question and questionnaire design slideshare 022113 dmf
Survey question and questionnaire design slideshare 022113 dmfSurvey question and questionnaire design slideshare 022113 dmf
Survey question and questionnaire design slideshare 022113 dmf
David Filiberto
 

Viewers also liked (8)

KubeCon EU 2016: Creating an Advanced Load Balancing Solution for Kubernetes ...
KubeCon EU 2016: Creating an Advanced Load Balancing Solution for Kubernetes ...KubeCon EU 2016: Creating an Advanced Load Balancing Solution for Kubernetes ...
KubeCon EU 2016: Creating an Advanced Load Balancing Solution for Kubernetes ...
 
Quantitative reseach method
Quantitative reseach methodQuantitative reseach method
Quantitative reseach method
 
Kubernetes Architecture and Introduction – Paris Kubernetes Meetup
Kubernetes Architecture and Introduction – Paris Kubernetes MeetupKubernetes Architecture and Introduction – Paris Kubernetes Meetup
Kubernetes Architecture and Introduction – Paris Kubernetes Meetup
 
Survey question and questionnaire design slideshare 022113 dmf
Survey question and questionnaire design slideshare 022113 dmfSurvey question and questionnaire design slideshare 022113 dmf
Survey question and questionnaire design slideshare 022113 dmf
 
Kubernetes Networking
Kubernetes NetworkingKubernetes Networking
Kubernetes Networking
 
Presentation On Questionnaire
Presentation On QuestionnairePresentation On Questionnaire
Presentation On Questionnaire
 
A Tour of Google Cloud Platform
A Tour of Google Cloud PlatformA Tour of Google Cloud Platform
A Tour of Google Cloud Platform
 
State of the Word 2011
State of the Word 2011State of the Word 2011
State of the Word 2011
 

More from DroidConTLV

More from DroidConTLV (20)

Mobile Development in the Information Age - Yossi Elkrief, Nike
Mobile Development in the Information Age - Yossi Elkrief, NikeMobile Development in the Information Age - Yossi Elkrief, Nike
Mobile Development in the Information Age - Yossi Elkrief, Nike
 
Doing work in the background - Darryn Campbell, Zebra Technologies
Doing work in the background - Darryn Campbell, Zebra TechnologiesDoing work in the background - Darryn Campbell, Zebra Technologies
Doing work in the background - Darryn Campbell, Zebra Technologies
 
No more video loss - Alex Rivkin, Motorola Solutions
No more video loss - Alex Rivkin, Motorola SolutionsNo more video loss - Alex Rivkin, Motorola Solutions
No more video loss - Alex Rivkin, Motorola Solutions
 
Mobile at Scale: from startup to a big company - Dor Samet, Booking.com
Mobile at Scale: from startup to a big company - Dor Samet, Booking.comMobile at Scale: from startup to a big company - Dor Samet, Booking.com
Mobile at Scale: from startup to a big company - Dor Samet, Booking.com
 
LiveData on Steroids - Giora Shevach + Shahar Ben Moshe, Climacell
LiveData on Steroids - Giora Shevach + Shahar Ben Moshe, ClimacellLiveData on Steroids - Giora Shevach + Shahar Ben Moshe, Climacell
LiveData on Steroids - Giora Shevach + Shahar Ben Moshe, Climacell
 
MVVM In real life - Lea Cohen Tannoudji, Lightricks
MVVM In real life - Lea Cohen Tannoudji, LightricksMVVM In real life - Lea Cohen Tannoudji, Lightricks
MVVM In real life - Lea Cohen Tannoudji, Lightricks
 
Best Practices for Using Mobile SDKs - Lilach Wagner, SafeDK (AppLovin)
Best Practices for Using Mobile SDKs - Lilach Wagner, SafeDK (AppLovin)Best Practices for Using Mobile SDKs - Lilach Wagner, SafeDK (AppLovin)
Best Practices for Using Mobile SDKs - Lilach Wagner, SafeDK (AppLovin)
 
Building Apps with Flutter - Hillel Coren, Invoice Ninja
Building Apps with Flutter - Hillel Coren, Invoice NinjaBuilding Apps with Flutter - Hillel Coren, Invoice Ninja
Building Apps with Flutter - Hillel Coren, Invoice Ninja
 
New Android Project: The Most Important Decisions - Vasiliy Zukanov
New Android Project: The Most Important Decisions - Vasiliy ZukanovNew Android Project: The Most Important Decisions - Vasiliy Zukanov
New Android Project: The Most Important Decisions - Vasiliy Zukanov
 
Designing a Design System - Shai Mishali, Gett
Designing a Design System - Shai Mishali, GettDesigning a Design System - Shai Mishali, Gett
Designing a Design System - Shai Mishali, Gett
 
The Mighty Power of the Accessibility Service - Guy Griv, Pepper
The Mighty Power of the Accessibility Service - Guy Griv, PepperThe Mighty Power of the Accessibility Service - Guy Griv, Pepper
The Mighty Power of the Accessibility Service - Guy Griv, Pepper
 
Kotlin Multiplatform in Action - Alexandr Pogrebnyak - IceRockDev
Kotlin Multiplatform in Action - Alexandr Pogrebnyak - IceRockDevKotlin Multiplatform in Action - Alexandr Pogrebnyak - IceRockDev
Kotlin Multiplatform in Action - Alexandr Pogrebnyak - IceRockDev
 
Flutter State Management - Moti Bartov, Tikal
Flutter State Management - Moti Bartov, TikalFlutter State Management - Moti Bartov, Tikal
Flutter State Management - Moti Bartov, Tikal
 
Reactive UI in android - Gil Goldzweig Goldbaum, 10bis
Reactive UI in android - Gil Goldzweig Goldbaum, 10bisReactive UI in android - Gil Goldzweig Goldbaum, 10bis
Reactive UI in android - Gil Goldzweig Goldbaum, 10bis
 
Fun with flutter animations - Divyanshu Bhargava, GoHighLevel
Fun with flutter animations - Divyanshu Bhargava, GoHighLevelFun with flutter animations - Divyanshu Bhargava, GoHighLevel
Fun with flutter animations - Divyanshu Bhargava, GoHighLevel
 
DroidconTLV 2019
DroidconTLV 2019DroidconTLV 2019
DroidconTLV 2019
 
Ok google, it's time to bot! - Hadar Franco, Albert + Stav Levi, Monday
Ok google, it's time to bot! - Hadar Franco, Albert + Stav Levi, MondayOk google, it's time to bot! - Hadar Franco, Albert + Stav Levi, Monday
Ok google, it's time to bot! - Hadar Franco, Albert + Stav Levi, Monday
 
Introduction to React Native - Lev Vidrak, Wix
Introduction to React Native - Lev Vidrak, WixIntroduction to React Native - Lev Vidrak, Wix
Introduction to React Native - Lev Vidrak, Wix
 
Bang-Bang, you have been hacked - Yonatan Levin, KolGene
Bang-Bang, you have been hacked - Yonatan Levin, KolGeneBang-Bang, you have been hacked - Yonatan Levin, KolGene
Bang-Bang, you have been hacked - Yonatan Levin, KolGene
 
Educating your app – adding ML edge to your apps - Maoz Tamir
Educating your app – adding ML edge to your apps - Maoz TamirEducating your app – adding ML edge to your apps - Maoz Tamir
Educating your app – adding ML edge to your apps - Maoz Tamir
 

Recently uploaded

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 

Building cloud powered android applications

  • 1. Shay Erlichmen Google Developer Expert - Cloud CTO Samba.me Building Cloud-Powered Android Applications
  • 2. Agenda: June 12th , 2014 Overview: Android Studio and Google Cloud Endpoints Demo: adding a Cloud backend to an Android app in 15 minutes! Future directions Questions and answers 1 2 3 4
  • 3. Agenda: June 12th , 2014 Overview: Android Studio and Google Cloud Endpoints1 2 3 4 Demo: adding a Cloud backend to an Android app in 15 minutes! Future directions Questions and answers
  • 4. Download – Android Studio Early Access Preview: http://developer.android.com/sdk! Android Studio An open-source IDE built for Android • Based on IntelliJ IDEA with coding assistance tools to help write Java code • Integrated visual and layout designer • Large number of bundled static code analysis tools (Lint) to help build quality apps • Integrated with Gradle to enable one build across dev environment (IDE, command line, CI server)
  • 5. Google Cloud Endpoints Extremely simple way to build server side logic on full power, management free Google App Engine platform • Uses App Engine’s auto-scaling and high-availability • Uses auto-generated, strongly typed, mobile optimized client libraries for Android, iOS and web. • Exposes standards based REST interfaces with built-in authorization
  • 6. Mobile Backend Running on Google App Engine Instances Mobile Backend Running on Google App Engine Instances Mobile Backend Running on Google App Engine Instances Taking the plumbing out of API programming Cloud Endpoints Clients
  • 7. Taking the complexity out of multi-client development Mobile Backend Running on Google App Engine Instances Mobile Backend Running on Google App Engine Instances Mobile Backend Running on Google App Engine Instances Cloud Endpoints Clients
  • 8. Taking the risk out of API development Mobile Backend Running on Google App Engine Instances Mobile Backend Running on Google App Engine Instances Mobile Backend Running on Google App Engine Instances Cloud Endpoints Clients
  • 9. Android Studio + Cloud Endpoints Easiest way for mobile developers to connect to Google Cloud Platform • Create Google App Engine backends in Android Studio • Generate Java-specific bindings for use in Android app • Benefit from as-you-type validations and quick-fixes when defining the backend API • Use App Engine-specific Gradle tooling that allows for a unified client/backend build Easiest way to connect to Google Cloud Platform
  • 10. Agenda: June 12th , 2014 Overview: Android Studio and Google Cloud Endpoints1 2 3 4 Demo: adding a Cloud backend to an Android app in 15 minutes! Future directions Questions and answers
  • 11. Todo.txt: a simple to-do task management app
  • 12. ...which is loved by Play Store users
  • 13. ...and best of all, it’s open-sourced!
  • 14. Images by Connie Zhou Demo: adding a Google Cloud backend to Todo.txt!
  • 15. getTask().execute() Cloud Datastore App Engine backend CloudEndpoints Todo.txt app ClientLibraries Demo Architecture pullFromRemote pushToRemote storeTask().execute() query.get() transaction.commit()
  • 16. getTask().execute() Cloud Datastore App Engine backend CloudEndpoints Todo.txt app ClientLibraries Demo Architecture storeTask().execute() query.get() transaction.commit()
  • 17. getTask().execute() Cloud Datastore App Engine backend CloudEndpoints Todo.txt app ClientLibraries Demo Architecture storeTask().execute() query.get() transaction.commit()
  • 18. getTask().execute() Cloud Datastore App Engine backend CloudEndpoints Todo.txt app ClientLibraries Demo Architecture storeTask().execute() query.get() transaction.commit()
  • 19. getTask().execute() Cloud Datastore App Engine backend CloudEndpoints Todo.txt app ClientLibraries Demo Architecture storeTask().execute() query.get() transaction.commit()
  • 20. getTask().execute() Cloud Datastore App Engine backend CloudEndpoints Todo.txt app ClientLibraries Demo Architecture pullFromRemote pushToRemote storeTask().execute() query.get() transaction.commit()
  • 21. Agenda: June 12th , 2014 Overview: Android Studio and Google Cloud Endpoints Demo: adding a Cloud backend to an Android app in 15 minutes! Future directions 1 2 3 4 Questions and answers
  • 22. … but more details in Google I/O ‘14! What’s coming next? API Management Console Improved getting started experience Third party API clients access API Analytics Cloud Endpoints Support for GCE
  • 23. Agenda: June 12th , 2014 Overview: Android Studio and Google Cloud Endpoints Demo: adding a Cloud backend to an Android app in 15 minutes! Future directions 1 2 3 4 Questions and answers
  • 24. Images by Connie Zhou Google Cloud Platform Android Studio Google Cloud Endpoints Google App Engine plug-in for Gradle cloud.google.com developer.android.com/sdk cloud.google.com/endpoints github.com/GoogleCloudPlatform/ gradle-appengine-plugin Useful Links