Android 文件上传到服务器
我希望我的应用程序能够及时检查我的照片文件夹。如果有新图片,请将其上传到服务器中的文件夹中。怎么办呢?或任何阅读材料
问候
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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您有兴趣发现媒体更改,则应该很有可能为“媒体”权限实现一个
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 yourSyncAdapter
will be triggered and you can sync it with your remote folder.