SlideShare une entreprise Scribd logo
1  sur  24
Télécharger pour lire hors ligne
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

Contenu connexe

En vedette

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
 

En vedette (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
 

Plus de DroidConTLV

Plus de 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
 

Dernier

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

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
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
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
 
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
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
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
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
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
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.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