Droidcon India 2013

What's your thinking on Android this year?

Bhaskar Gupta

@bhaskar4006

Volley with OkHttp: A Deadly Ultrafast Network Application

Submitted Oct 12, 2013

Volley, is an excellent library that implements best practices, design patterns and framework to build fast, async and cachable Android applications. OkHttp is the android client of SPYDY. There is very less documentation around Volley, hence the objective is to become aware of how to use Volley and customize it along with OkHttp.

Outline

Http is the modern protocol of network applications. The presentation starts with introduction of OkHttp library (which is an HTTP & SPDY client for Android and Java applications) and Volley library (which is fast, easy async and caching framework for network calls, used by PlayStore). Then, we will walk through detail hands-on of how it works, common patterns that work well with them, and how to use the libraries and build easy, fast android applications. It will cover a comparison of tasks and amount of code of Async tasks you need to write before Volley and after you have these framework.Then, You will learn to build a sample application that have both OkHttp and Volley together and run a Rest based client to call a JSON response. We will deep dive in caching framework of Volley and touch upon image loading framework and caching of the same. This will be along with a walk-through of how you can load images from network in parallel in ListView. We’ll conclude by discussing how to build an app with Volley and OkHttp or port your app to Volley.

Speaker bio

Bhaskar Gupta is Technical Lead in MakeMyTrip with 6 years of experience. He is a software engineer, having graduated from IIIT Allahabad in Information Technology. A researcher at heart, Bhaskar hold 4 patents, latest being applied for in creating a scalable system for searching best K routes in a graph; transformed as “Routeplanner” product in MakeMyTrip. He loves personal and ubiquitous computing and building efficient scalable applications. Mobile application and Android development are his latest areas to adventure and research.

He loves threads, caching frameworks and exploring and evaluating different frameworks and approaches with an affinity to use native components as much as possible. Volley, is an excellent library that implements best practices, design patterns and framework to build fast, async and cachable Android applications.

Slides

https://www.dropbox.com/sh/82mo3710l4o43rj/pMJB4lsSJ0/Bhaskar.pptx

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

droidconIN is an annual conference on Android, part of the worldwide series of events. more