开发者

How to retrieve the Video thumbnail in android

开发者 https://www.devze.com 2023-01-10 22:15 出处:网络
I want to retrieve the video thumbnail from the SDCARD and show in GridView for both Android 开发者_开发问答OS version 1.5and 2.0. By using MediaStore class I can retrieve the thumbnail in only 2.0 an

I want to retrieve the video thumbnail from the SDCARD and show in GridView for both Android 开发者_开发问答OS version 1.5 and 2.0. By using MediaStore class I can retrieve the thumbnail in only 2.0 and above but I want one common code to retrieve the Video thumbnail for 1.5 and 2.0 also. Is this possible?


I don't think this is possible. The simplest API exists beginning in android-8, and is explained in this answer.

0

精彩评论

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