We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
asi d.
11 years agoNew member | Level 1
Dropbox Core API on Android and startActivityForResult
I am trying to switch from SyncSDK to Core API. Everything going smoothly apart from your sample about picking up authentication result on onResume method of the activity. Shouldn't Core API Android helper follow Android design pattern and deliver result to activity after calling startActivityForResult? SyncSDK does this.
onResume works too but it is unnecessary to keep checking authentication result whenever user opens my settings activity.
Am I missing something?
2 Replies
Replies have been turned off for this discussion
- Greg-DB11 years ago
Dropbox Community Moderator
The Sync and Core SDKs do handle the app authorization flow somewhat differently as you pointed out. I'll be sure to send this along as feedback, but for now we recommend implementing the authorization flow as shown in the tutorial.
- asi d.11 years agoNew member | Level 1
Thanks very much for responding. I have implemented as in your tutorial but as I've stated above, handling response from authorization is not optimal and does not follow Android design pattern.
I will wait for future updates
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!