droidcon 2014: Tricks for image handling in Android - Tyrone Nicholas
Channel: droidcon
Date: 2014-07-31

Tricks for image handling in Android - Tyrone Nicholas (Facebook Inc)

Find out more at: http://de.droidcon.com/2014/session/tricks-image-handling-android

One of the hardest parts of writing an Android application is dealing with images. They take up a lot of memory, and are a leading cause of crashes and slowdowns. This talk will go into the architecture of Android’s image processing libraries and how they have evolved over the years. It will present the different options available in the API for better image handling – bitmap recycling and pooling most prominently. I will then go into more detail into work currently underway at Facebook to improve image handling. I will discuss some poorly documented features in the Android SDK and NDK that offer keys to faster and safer image handling. I will include walkthroughs of selected pieces of Android source code, in both Java and C++, and show how when combined with selected open-source libraries, app developers can get better performance and stability dealing with images.