Example code for video thumbnail which from resource on Android Device