Developer Aspirations

YAPB - Yet Another Programming Blog

LinkedIn

Friday

14

November 2014

Cutoff Thumbnails in Android MediaStore

by Colin Miller, on Android, Concurrency, LinkedIn

I discovered a really wonderful cocurrency issue the other day while I was working on the LinkedIn application. It appeared that when a user takes a photo to upload as part of a status update that the thumbnail would be incomplete. The image was stored on the filesystem correctly and would upload fine, but the thumbnail in the app would be cut off. More interestingly, the thumbnail in the phone's…