public static Bitmap getThumbnail ( Context context , File file ) { return getThumbnail ( context , getUri ( context , file ) , getMimeType ( file ) ) ; }
Attempt to retrieve the thumbnail of given File from the MediaStore . This should not be called on the UI thread .