cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API v2 migration issue

API v2 migration issue

Rerware L.
New member | Level 1

Per your request, we are migrating Android v1 to your new SDK V2
com.dropbox.core:dropbox-core-sdk:2.1.1

One feature that doesn't exists or can't find is the Progress Listener that
existed in v1 (com.dropbox.client2.ProgressListener). It enabled
us to check the progress of the upload or download. This is very important for large files and user input.

Please add this feature ASAP, as the current no progress is
not user friendly at all (imagine the user is uploading 50MB file
from Android device with no progress), the user simply might kill the app and thinks that it is stuck while it is actually uploading?

Please advice.

4 Replies 4

Greg-DB
Dropbox Staff

Thanks! I'm sending this along to the team as a feature request.

jamesdwlee
New member | Level 2

Any update to support ProgressMonitor in API v2? V1 is set to be retired as of 6/28/2017. How Dropbox force apps to move to v2 without providing this essential function?

Greg-DB
Dropbox Staff
I don't have an update on this feature request right now.

Note that we actually just announced a general extension for access to API v1 though, until 9/28/2017:

https://blogs.dropbox.com/developers/2017/06/updated-api-v1-deprecation-timeline/

Greg-DB
Dropbox Staff

The Dropbox API v2 Java SDK now offers progress listeners for uploads and downloads. This has been released in v3.0.9:

https://github.com/dropbox/dropbox-sdk-java/releases/tag/v3.0.9

There's an example of using it with with the uploadAndFinish method ( https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.0.x/com/dropbox/core/DbxUploader.html#uploadA... ) for an upload here:

https://github.com/dropbox/dropbox-sdk-java/blob/master/examples/upload-file/src/main/java/com/dropb...

It works the same way with file downloads; the download method ( https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.0.x/com/dropbox/core/DbxDownloader.html#downl... ) optionally takes a ProgressListener parameter the same way.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    jamesdwlee New member | Level 2
What do Dropbox user levels mean?