cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you interested in hearing how one of our Community members uses Dropbox for sailing trips? Read all about it 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: 

V2 session in Android

V2 session in Android

Kapil22
Explorer | Level 3

How can I store dropbox v2 session in android. I have followed the tutorial from dropbox sample app but its not working for me. I need some exact solution. It was much more easy to create and store session using previous sdk. Not able to find accurate samples or tutorials for new V2 android sdk.

1 Reply 1

Greg-DB
Dropbox Staff

Are you referring to the Android sample app included with the Dropbox API v2 Java SDK? That is what you should use as a reference when implementing this in your own Android app. What didn't work for you exactly?

 

This works essentially the same way as the old v1 SDK. That is, your app should send the user through the OAuth app authorization flow, and receives an access token when the user authorizes your app. Your app can store and re-use that access token. You can see how the Android sample app does that here.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?