Cloud Power your Android
Apps: Quick and Easy
Google Cloud Platform Developer Roadshow - 2014
Slide 2
Slide 2 text
Agenda
Mobile applications need scalable back ends
Using Cloud Backends
Consuming Backends in an Android App
Extending your App to your wrist with Android Wear
1
2
3
4
Slide 3
Slide 3 text
Mobile Applications need
Scalable Backends
Slide 4
Slide 4 text
Cloud
Backend
Isolated from outside world 83%
63%
Slide 5
Slide 5 text
Make applications more engaging
Off-device data, multi-device interactions
Slide 6
Slide 6 text
Want to focus on your code
Don't worry about load balancer configurations, CDNs, scaling...
Slide 7
Slide 7 text
Google Cloud
Endpoints
Build Powerful Backends with APIs - Easily
Slide 8
Slide 8 text
Use familiar tools
Android Studio + Java
Slide 9
Slide 9 text
Start effortlessly
Auto-generated, mobile-optimized client libraries for your API
Slide 10
Slide 10 text
Scale automatically
Google App Engine’s auto-scaling and high-availability
Slide 11
Slide 11 text
Using Cloud Backends
Slide 12
Slide 12 text
Mobile Backend Running on
Google App Engine Instances
Mobile Backend Running on
Google App Engine Instances
Backend running on Google App
Engine instances
Client
libraries
for your
backend
Cloud Endpoints Architecture
Slide 13
Slide 13 text
Mobile Backend Running on
Google App Engine Instances
Mobile Backend Running on
Google App Engine Instances
Backend running on Google App
Engine instances
Client
libraries
for your
backend
Cloud Endpoints Architecture
Slide 14
Slide 14 text
@Api(name = "myApi", version = "v1")
public class MyEndpoint {
/** A simple Endpoint that takes a name and says "Hi" back */
@ApiMethod(name = "sayHi")
public MyBean sayHi(String name) {
MyBean response = new MyBean();
response.setData("Hi, " + name);
return response;
}
}
MyEndpoint.java
Slide 15
Slide 15 text
@Api(name = "myApi", version = "v1")
public class MyEndpoint {
/** A simple Endpoint that takes a name and says "Hi" back */
@ApiMethod(name = "sayHi")
public MyBean sayHi(String name) {
MyBean response = new MyBean();
response.setData("Hi, " + name);
return response;
}
}
MyEndpoint.java
Slide 16
Slide 16 text
@Api(name = "myApi", version = "v1")
public class MyEndpoint {
/** A simple Endpoint that takes a name and says "Hi" back */
@ApiMethod(name = "sayHi")
public MyBean sayHi(String name) {
MyBean response = new MyBean();
response.setData("Hi, " + name);
return response;
}
}
MyEndpoint.java
Slide 17
Slide 17 text
Mobile Backend Running on
Google App Engine Instances
Mobile Backend Running on
Google App Engine Instances
Backend running on Google App
Engine instances
Client
libraries
for your
backend
Cloud Endpoints Architecture
Slide 18
Slide 18 text
Mobile Backend Running on
Google App Engine Instances
Mobile Backend Running on
Google App Engine Instances
Backend running on Google App
Engine instances
Client
libraries
for your
backend
Cloud Endpoints Architecture
Slide 19
Slide 19 text
Demo
Slide 20
Slide 20 text
Consuming Backends in an
Android App
Slide 21
Slide 21 text
Mobile Backend Running on
Google App Engine Instances
Mobile Backend Running on
Google App Engine Instances
Backend running on Google App
Engine instances
Client
libraries
for your
backend
Cloud Endpoints Architecture
Slide 22
Slide 22 text
Client libraries tailored for your backend
Slide 23
Slide 23 text
Don't worry about "plumbing"
Object serialization/deserialization, compression,
SSL support; client library generation
Networking, battery life, information security
Slide 24
Slide 24 text
Scale unlimitedly as your needs grow
Free to get started, has full power of Google App Engine:
autoscaling, high-availability, multiple storage options.
Speed and reliability
Slide 25
Slide 25 text
Demo
Slide 26
Slide 26 text
http://developer.android.com/design/media/wear/clear_bold_type.jpg
Extending your App for
Wearables
Slide 27
Slide 27 text
Android Wear
Apps and Notifications on your Wrist
Slide 28
Slide 28 text
Mobile Backend Running on
Google App Engine Instances
Mobile Backend Running on
Google App Engine Instances
Backend running on Google App
Engine instances
Client
libraries
for your
backend
Cloud Endpoints Architecture
Slide 29
Slide 29 text
Demo
Slide 30
Slide 30 text
Recap
Mobile applications need scalable back ends
Using Cloud Backends
Consuming Backends in an Android App
Extending your App to your wrist with Android Wear
1
2
3
4