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?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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
or the Sync SDK:
https://www.dropbox.com/developers/sync/docs/android#com.dropbox.sync.android.DbxFile
to upload files from Android to Dropbox.