Over a million developers have joined DZone.

How to Consume APIs in Android Applications

DZone's Guide to

How to Consume APIs in Android Applications

· Java Zone
Free Resource

Microservices! They are everywhere, or at least, the term is. When should you use a microservice architecture? What factors should be considered when making that decision? Do the benefits outweigh the costs? Why is everyone so excited about them, anyway?  Brought to you in partnership with IBM.

If you're working with web APIs in Android apps (and want to do it in the most efficient manner), you may be interested in this talk on Consuming Web APIs in Android Applications:

Do you already have an Android application or are looking to create a new one that consumes web APIs, then this is the talk for you! This presentation will cover modern best practices on how to consume web APIs using the latest open source libraries. Learn how you can download and parse web APIs with a minimal amount of work, while also getting the benefits of a HTTP cache, gzip support, connection pooling, and SPDY support.

You will learn how to start with an application with no API usage and make use of an OkHttp, GSON, and Retrofit stack. Using this stack, as well as code generators, you will learn how you can parse most web APIs in about five minutes.

- Youtube description

There's also a blog post Bill Donahue at MeetMe's engineering blog to go along with it.

Discover how the Watson team is further developing SDKs in Java, Node.js, Python, iOS, and Android to access these services and make programming easy. Brought to you in partnership with IBM.


Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.


{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}