cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Dropbox Core API on Android and startActivityForResult

New member | Level 1
New member | Level 1

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 2
Highlighted

Re: Dropbox Core API on Android and startActivityForResult

Dropboxer
Dropboxer

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.

Highlighted

Re: Dropbox Core API on Android and startActivityForResult

New member | Level 1
New 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

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?