Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
I want to show photos stored on my drop box to all the users of my android app,I know that I have to use the acess token,app key and app secret for that but there is very little documentation about dropbox api v2 as v1 is deprecated.I am not able to get the source code for this,kindly help and provide necessary details for implementation of my application.I am new to dropbox so pls help!
For Android, we recommend using the official Dropbox API v2 Java SDK:
https://github.com/dropbox/dropbox-sdk-java
There's an example Android app here:
https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/android
Your AndroidManifest.xml should be set up as shown here:
You start the flow by calling startOAuth2Authentication as shown here:
You complete the flow by calling getOAuth2Token as shown here:
Your app can store and re-use the resulting access token for that user, as the example does here:
Once you have an access token, you can make a client as shown here:
With a client, you can make whatever calls you want, as shown in the readme and examples:
https://github.com/dropbox/dropbox-sdk-java/blob/master/ReadMe.md#try-some-api-requests
For instance, to download a file:
The full documentation for the SDK itself can be found here:
https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.0.x/
Hope this helps!
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
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!