Android 文件上传到服务器

发布于 2024-12-26 07:28:29 字数 76 浏览 5 评论 0原文

我希望我的应用程序能够及时检查我的照片文件夹。如果有新图片,请将其上传到服务器中的文件夹中。怎么办呢?或任何阅读材料

问候

I want my app to timely check my photo folder. if new picture is available, upload it to the folder in the server. How to do it ? or any reading materials

Regards

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夏有森光若流苏 2025-01-02 07:28:29

如果您有兴趣发现媒体更改,则应该很有可能为“媒体”权限实现一个 SyncAdapter - 每当对可用媒体进行更新时,例如发现新的 MP3 或照片时,您的 SyncAdapter 将被触发,您可以将其与远程文件夹同步。

It you're interested in discovering media changes it should be quite possible to implement a SyncAdapter for the "media" authority - whenever an update is made to the available media, e.g. a new MP3 or photo is discovered your SyncAdapter will be triggered and you can sync it with your remote folder.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文