网络存储内容提供商
对于大多数 Android 设备,只有在设备获得 root 权限后才能安装 CIFS 或 NFS。 问题是,是否可以创建一个 Android 内容提供程序,提供来自网络存储 (Samba) 的图片和视频以及内部存储的 URI(即 MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI,通常用于 SD 卡) )。
找不到该主题的任何解决方案 - 也许我已经监督了一个节目停止者?!
谢谢你的意见。
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.Thumbnails.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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,大多数现有的文件管理器都是通过本地 http 来完成的。他们打开感兴趣的流,然后侦听特定端口上的 http 连接以向其提供该流。
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.