Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building Cloud-Powered Android Applications

Building Cloud-Powered Android Applications

from Google Cloud Platform Live 2014
YouTube Video: https://www.youtube.com/watch?v=7Sp4Lr3Qmcw

Kazunori Sato

April 24, 2014
Tweet

More Decks by Kazunori Sato

Other Decks in Technology

Transcript

  1. Agenda: March 25th, 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
  2. Agenda: March 25th, 2014 Overview: Android Studio and Google Cloud

    Endpoints 1 2 3 4 Demo: adding a Cloud backend to an Android app in 15 minutes! Future directions Questions and answers
  3. 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)
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. Agenda: March 25th, 2014 Overview: Android Studio and Google Cloud

    Endpoints 1 2 3 4 Demo: adding a Cloud backend to an Android app in 15 minutes! Future directions Questions and answers
  10. getTask().execute() Cloud Datastore App Engine backend Cloud Endpoints Todo.txt app

    Client Libraries Demo Architecture pullFromRemote pushToRemote storeTask().execute() query.get() transaction.commit()
  11. getTask().execute() Cloud Datastore App Engine backend Cloud Endpoints Todo.txt app

    Client Libraries Demo Architecture storeTask().execute() query.get() transaction.commit()
  12. getTask().execute() Cloud Datastore App Engine backend Cloud Endpoints Todo.txt app

    Client Libraries Demo Architecture storeTask().execute() query.get() transaction.commit()
  13. getTask().execute() Cloud Datastore App Engine backend Cloud Endpoints Todo.txt app

    Client Libraries Demo Architecture storeTask().execute() query.get() transaction.commit()
  14. getTask().execute() Cloud Datastore App Engine backend Cloud Endpoints Todo.txt app

    Client Libraries Demo Architecture storeTask().execute() query.get() transaction.commit()
  15. getTask().execute() Cloud Datastore App Engine backend Cloud Endpoints Todo.txt app

    Client Libraries Demo Architecture pullFromRemote pushToRemote storeTask().execute() query.get() transaction.commit()
  16. Agenda: March 25th, 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
  17. … 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
  18. Agenda: March 25th, 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
  19. 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