This tag refers to small digital graphics or images (called thumbnails) that serve as previews for a larger version, on the Android platform.
Questions tagged [android-thumbnail]
4 questions
9
votes
2 answers
Get multiple thumbnails from video
I'm using MediaMetadataRetriever to retrieve thumbnails at a specific time in video. This is how I achieve this:
MediaMetadataRetriever metadataRetriever = new MediaMetadataRetriever();
try {
…

ClassA
- 2,480
- 1
- 26
- 57
3
votes
4 answers
Android: How do I get thumbnail from a Video (Uri)
I want thumbnail from a video at any specific position. I am using ThumbnailUtils in order to get thumbnail from video uri and assigning to bitmap but I am getting null value on bitmap.
Any reasons how this is happening and how do I fix…

Debarun Lahiri
- 142
- 2
- 11
0
votes
1 answer
Able to store image to a pat but unable to access it using `File` for Thumbnail Creation
I am able to store an image and display it ImageView using the same filePath but get an error when trying to access it for thumbnail creation using ThumbnailUtils
I have a fragment, That captures the image using ActivityResultContract
class…

Sanjay Kapilesh
- 269
- 1
- 4
- 16
0
votes
1 answer
Android never call method onCreateThumbnail
Based on Android documentation, method onCreateThumbnail is called before pausing the activity, and should draw into outBitmap the imagery for the desired thumbnail in the dimensions of that bitmap. It can use the given canvas, which is configured…

Ωmega
- 42,614
- 34
- 134
- 203