The documentation for ThumbnailUtils.createVideoThumbnail says it
takes a file path (local) for the first argument, not a URL.  I
wouldn't expect it to somehow download the video and make a thumbnail
out of it.

Doug

On Jul 8, 5:45 am, Anusha D <[email protected]> wrote:
> Hi,
>
> I am trying to display thumbnails for the videos which are streamed
> into my app from youtube by using the following code
>
>   Bitmap bMap = ThumbnailUtils.createVideoThumbnail(videoUrl,
> MediaStore.Video.Thumbnails.MICRO_KIND);
>
> here the videoUrl is the url of the url of the video which i am trying
> to play. Null value is being returned to the variable 'bMap'. can
> anyone help me in this issue?
>
> Thanks in advance.

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