Upload file to Dropbox programmatically from Android APP

你离开我真会死。 提交于 2019-12-12 03:42:53

问题


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.



来源:https://stackoverflow.com/questions/17039701/upload-file-to-dropbox-programmatically-from-android-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!