从Android APP以编程方式将文件上传到Dropbox [英] Upload file to Dropbox programmatically from Android APP

查看:149
本文介绍了从Android APP以编程方式将文件上传到Dropbox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个可以下载MP3文件的应用,但是我想向用户提供一个选项,可以在下载完成后将文件上传到保管箱。我看过API看不清该怎么做。

I have an App that downloads MP3 files but I'd like to provide an option to the user to upload the file to dropbox on download completion. I've looked through the API couldn't see how to do it. Is that possible at all?

推荐答案

是的,您可以使用Core SDK:

Yes, you can use either the Core SDK:

https://www.dropbox.com/static/developers/dropbox-android-sdk-1.5.4-docs/com/dropbox/client2/DropboxAPI.UploadRequest.html

或Sync SDK:

https://www.dropbox.com/developers/sync/docs/android#com.dropbox.sync.android.DbxFile

将文件从Android上传到Dropbox。

to upload files from Android to Dropbox.

这篇关于从Android APP以编程方式将文件上传到Dropbox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆