cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn about updates that we've made to the Search experience on the Android and iOS apps?Well, you can learn from Luke on the Mobile App team right 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: 
1
Ask
2
Reply and help

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

Re: V2 session in Android

Greg-DB
Dropboxer

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.

Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?