Hi,

I am having trouble getting a thumbnail for a video.

I am targeting 2.1 update 1. (API level 7)

I would like to use MediaStore.Video.Thumbnails.getThumbnail. This works 
perfectly if the SD Card has been mounted / unmounted.

However, when a video is first created I would like it to be scanned (by the 
MediaScanner I believe) so it is indexed and I can show a preview immediately 
using the getThumbnail method. Looking at the source I suspect this is a device 
specific class.

I have tried creating a class that implements MediaScannerConnectionClient but 
onScanCompleted never seems to get called. Has anyone had any success making 
thumbnails like this?

Any direction would be really helpful :)

Regards,
Julius.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to