Posted on Leave a comment

Media + Storage

Supported Media Formats

Youtube DATA API v3 (v2)

Youtube thumbnails:

[code language=”java”]<br> http://img.youtube.com/vi/<youtube-video-id>/0.jpg<br> [/code]

You can replace 0 with
1
2
3
default
hqdefault
mqdefault
sddefault
maxresdefault

Also i3.ytimg.com works in place of img.youtube.com

 


Open files using storage access framework [ https://developer.android.com/guide/topics/providers/document-provider ]

Android Media Store Sample [ https://github.com/android/storage-samples/tree/master/MediaStore ]

Multiple samples showing the best practices in storage APIs on Android. [ https://github.com/android/storage-samples ]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.