I have got the uri of the video from SD card , by using this I want to create thumbail using this URI .
How to ach开发者_JAVA百科ieve this? Any one help me to overcome this problem.
I think you can get the thumbnail images of your Images from sdcard try this link Thumbnail/image cache files?
To create a Bitmap for Video
'ThumbnailUtils.createVideoThumbnail(Videofilepath,MediaStore.Images.Thumbnails.MINI_KIND);'
To create a Bitmap for Image
'Bitmap ThumbImage = ThumbnailUtils.extractThumbnail(BitmapFactory.decodeFile(ImagePath), THUMBSIZE_HEIGHT, THUMBSIZE_WIDTH);'
精彩评论