getting Image ThumbNail in Android
问题 I need Thumbnail of an image . I only know about the name of image which is stored in SD card . Can anyone help me. 回答1: Try this. final int THUMBSIZE = 64; Bitmap ThumbImage = ThumbnailUtils.extractThumbnail(BitmapFactory.decodeFile(imagePath), THUMBSIZE, THUMBSIZE); Refer this for more details. 回答2: Using MediaStore.Images.Thumbnails you can query and get two kinds of thumbnails: MINI_KIND: 512 x 384 thumbnail MICRO_KIND: 96 x 96 thumbnail. The advantage of using this call is that the