Droidcon India 2014

Droidcon India’s fourth edition

Vinay S Shenoy (@vinaysshenoy)


okulus: Image effects to make your apps stand out

Submitted Oct 17, 2014

It’s one thing to do Image loading, but another thing altogether to make them look pretty. You would often want to make your app stand out from the rest by adding multiple effects, say borders, rounded corners, circular crops, etc.

The goal of Okulus is to provide Android developers with a drop-in, easy to use method of applying these effects without worrying about performance and memory usage.


When building an application, I was asked to crop the user images to a circular mask. I did find multiple methods online, but they had different limitations; Some required multiple processing of Bitmaps, others created new Bitmap objects, etc.

So I did some research, and implemented a library which does this in the most optimal way possible. The end results are very promising - ZERO overdraw, and NO extra memory usage required to perform the effects.

Okulus can do this for you without breaking a sweat

  • Crop your images into multiple shapes
  • Add borders
  • Soft shadows
  • Lots more

I will be covering how to use okulus to apply nice effects to your apps with minimal effort.

Speaker bio

I’m currently an Android application developer at flipkart, working on the Android eBooks app.

I am an open source enthusiast, and love building great experiences on mobile. I enjoy building things that makes the lives of developers easier.




{{ 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