by Vinay S Shenoy (@vinaysshenoy) on Friday, October 17, 2014
View session in schedule
- UI - crisp talks
- Technical level
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.
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.