开发者

Display videos only from specific folder

开发者 https://www.devze.com 2023-03-14 10:58 出处:网络
How do I display videos in listview only fron specific folder? I use MediaStore.Video.Media.EXTERNAL_CONTENT_URI. but it gets all videos from the gallery.

How do I display videos in listview only fron specific folder? I use MediaStore.Video.Media.EXTERNAL_CONTENT_URI. but it gets all videos from the gallery. I don't want to add videos to the gallery. How do I specify the URI to a sp开发者_开发知识库ecific folder?


See Uri.fromFile(). The File object would be a directory or file that you want to convert to a Uri.

0

精彩评论

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

关注公众号