Building Android Applications that Use Web APIs

Building Android Applications that Use Web APIs
Yaniv Inbar
Sriram Saroop

Android and Web APIs
– 30 different APIs Drive, Plus, YouTube, etc

Google Client Libraries for Java
– Open Source (Apache License 2.0)
1. HTTP (goog.gl/onpMx)
2. OAuth (goo.gl/dXFtZ)
3. Google API Libraries

OAuth 2.0
Basic run through of authentication
– scopes calendar (manage) calendar (view only)

“OAuth on Android is complicated”
– it is, but can be done with better education
– old way is not clear what is being requested
– new way is much more clear for end users to know what is happening
– new account picker for multiple accounts on one device

Demo
– ProGuard strips out stuff you’re not using to keep apps small

Google Cloud Endpoints
– easily develop code on the backend for mobile
– Google cloud messaging endpoints
– use cases: centralize business logic across devices
http://endpoints-trusted-tester.appspot.com

Demo

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s