开发者

Video Thumbnail android 1.6

开发者 https://www.devze.com 2023-01-31 21:26 出处:网络
I want to display thumbnail of a video from SD card in an imageView. I know theres new Video.Thumbnail class available but its开发者_开发知识库 from android 2.1 and I want this to work on 1.6.

I want to display thumbnail of a video from SD card in an imageView.

I know theres new Video.Thumbnail class available but its开发者_开发知识库 from android 2.1 and I want this to work on 1.6.

From research I got to know that theres some MediaMetadataRetriever interface but its giving me runtime exceptions.

Can neone please help.


MediaMetadataRetriever is a private API and not expected to work across Android versions. Your best bet is to use the method in this answer if it is at all possible to target Android-8 (Froyo).

0

精彩评论

暂无评论...
验证码 换一张
取 消