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 ap...
Agenda: June 12th
, 2014
Overview: Android Studio and Google Cloud Endpoints1
2
3
4
Demo: adding a Cloud backend to an And...
Download – Android Studio Early Access Preview:
http://developer.android.com/sdk!
Android Studio
An open-source IDE built ...
Google Cloud Endpoints
Extremely simple way to build server side logic on full
power, management free Google App Engine pl...
Mobile Backend Running on
Google App Engine Instances
Mobile Backend Running on
Google App Engine Instances
Mobile Backend...
Taking the complexity out of multi-client development
Mobile Backend Running on
Google App Engine Instances
Mobile Backend...
Taking the risk out of API development
Mobile Backend Running on
Google App Engine Instances
Mobile Backend Running on
Goo...
Android Studio + Cloud Endpoints
Easiest way for mobile developers to
connect to Google Cloud Platform
• Create Google App...
Agenda: June 12th
, 2014
Overview: Android Studio and Google Cloud Endpoints1
2
3
4
Demo: adding a Cloud backend to an And...
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
pullF...
getTask().execute()
Cloud Datastore
App Engine backend
CloudEndpoints
Todo.txt app
ClientLibraries
Demo Architecture
store...
getTask().execute()
Cloud Datastore
App Engine backend
CloudEndpoints
Todo.txt app
ClientLibraries
Demo Architecture
store...
getTask().execute()
Cloud Datastore
App Engine backend
CloudEndpoints
Todo.txt app
ClientLibraries
Demo Architecture
store...
getTask().execute()
Cloud Datastore
App Engine backend
CloudEndpoints
Todo.txt app
ClientLibraries
Demo Architecture
store...
getTask().execute()
Cloud Datastore
App Engine backend
CloudEndpoints
Todo.txt app
ClientLibraries
Demo Architecture
pullF...
Agenda: June 12th
, 2014
Overview: Android Studio and Google Cloud Endpoints
Demo: adding a Cloud backend to an Android ap...
… but more details in Google I/O ‘14!
What’s coming next?
API Management
Console
Improved getting
started experience
Third...
Agenda: June 12th
, 2014
Overview: Android Studio and Google Cloud Endpoints
Demo: adding a Cloud backend to an Android ap...
Images by Connie Zhou
Google Cloud Platform
Android Studio
Google Cloud Endpoints
Google App Engine plug-in for Gradle
clo...
Upcoming SlideShare
Loading in …5
×

Building cloud powered android applications

866 views

Published on

A hands-on session which will demonstrate how to take an existing application and write a fully functional backend on Google Cloud Platform.
We will show you how quickly you can start by using Android Studio integration with Google Cloud Endpoint and hopefully by the end of the session we will have a live backend in production that we all can use.

As delivered at DroidCon Tel Aviv 2014 by:
Shay Erlichmen, Samba.me

http;//il.droidcon.com

Published in: Technology, Business
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
866
On SlideShare
0
From Embeds
0
Number of Embeds
43
Actions
Shares
0
Downloads
23
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Building cloud powered android applications

  1. 1. Shay Erlichmen Google Developer Expert - Cloud CTO Samba.me Building Cloud-Powered Android Applications
  2. 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. 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. 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. 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. 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. 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. 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. 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. 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. 11. Todo.txt: a simple to-do task management app
  12. 12. ...which is loved by Play Store users
  13. 13. ...and best of all, it’s open-sourced!
  14. 14. Images by Connie Zhou Demo: adding a Google Cloud backend to Todo.txt!
  15. 15. getTask().execute() Cloud Datastore App Engine backend CloudEndpoints Todo.txt app ClientLibraries Demo Architecture pullFromRemote pushToRemote storeTask().execute() query.get() transaction.commit()
  16. 16. getTask().execute() Cloud Datastore App Engine backend CloudEndpoints Todo.txt app ClientLibraries Demo Architecture storeTask().execute() query.get() transaction.commit()
  17. 17. getTask().execute() Cloud Datastore App Engine backend CloudEndpoints Todo.txt app ClientLibraries Demo Architecture storeTask().execute() query.get() transaction.commit()
  18. 18. getTask().execute() Cloud Datastore App Engine backend CloudEndpoints Todo.txt app ClientLibraries Demo Architecture storeTask().execute() query.get() transaction.commit()
  19. 19. getTask().execute() Cloud Datastore App Engine backend CloudEndpoints Todo.txt app ClientLibraries Demo Architecture storeTask().execute() query.get() transaction.commit()
  20. 20. getTask().execute() Cloud Datastore App Engine backend CloudEndpoints Todo.txt app ClientLibraries Demo Architecture pullFromRemote pushToRemote storeTask().execute() query.get() transaction.commit()
  21. 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. 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. 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. 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

×