We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
William M.46
10 years agoExplorer | Level 3
Verifying using V2 only
I'm not very impressed by the Dropbox v1 Deprecation Guide, as it seems to expect us to be experts on Dropbox rather than developers of actual functionality that learned just enough about Dropbox to ...
Stephen C.14
Dropbox Staff
10 years agoI'm sorry that the Deprecation Guide was not more helpful to you. The Guide is not meant to totally comprehensive, platform-specific migration guide, but is instead intended to give you a qualitative sense of how API v2 differs from API v1.
To answer your question, there is no easy way to toggle seamlessly between API v1 and API v2. Each version has an entirely separate set of endpoints that are queried by entirely separate SDKs. The Android SDK that you're currently using with your app, which queries v1 endpoints, will need to be entirely swapped out with an SDK that queries v2 endpoints.
The code in your app that interfaces with the v1 Android SDK will also need to change as well. Fortunately, the mapping between v1 and v2 endpoints is relatively tight and straightforward, so in most cases, the refactoring should not require significant overhaul to your codebase.
To upgrade your app to integrate with the new v2 Java SDK, you will want to follow this tutorial: https://www.dropbox.com/developers/documentation/java#tutorial.
For complete documentation for the v2 Java SDK, you can check out: https://dropbox.github.io/dropbox-sdk-java/api-docs/v2.1.x/.
Please reach out if you run into issues or need additional clarification.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!