开发者

Content Provider for Network Storage

开发者 https://www.devze.com 2023-04-11 09:01 出处:网络
With most Android devices, mounting CIFS or NFS is only possible when the devices is rooted. The question is, if it is possible to create a Android Content Provider which offers Pictures and Videos fr

With most Android devices, mounting CIFS or NFS is only possible when the devices is rooted. The question is, if it is possible to create a Android Content Provider which offers Pictures and Videos from the Network Storage (Samba) with the URIs as the internal storage does (i.e. MediaStore.Images.Thum开发者_JAVA百科bnails.EXTERNAL_CONTENT_URI which is usually used for SD Cards).

Couldn't find any solution to this topic - maybe I've overseen a show stopper?!

Thanks for your opinion.


Yes, most existing file manager are doing it through local http. They open the stream of interest, then listen for a http connection on a specific port to feed it with that stream.

0

精彩评论

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