0

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.

Shardul
  • 786
  • 3
  • 11
  • 20

1 Answers1

0

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).

Community
  • 1
  • 1
Matthew
  • 44,826
  • 10
  • 98
  • 87