I'm trying to build in the opportunity to sync my application's *.csv
files with desirable dropbox
account. What I've done so far:
com.dropbox.client2.android.AuthActivity
in manifestrelease-key-store
dropbox service
The problem is that I can't understand where do I get APP_KEY and SECRET_KEY for this matter?
When I try to launch the app I'm getting this:
05-22 12:31:54.762: E/AndroidRuntime(5587): at com.dropbox.sync.android.CoreAccountManager.initNativeLib(CoreAccountManager.java:109)
05-22 12:31:54.762: E/AndroidRuntime(5587): at com.dropbox.sync.android.CoreAccountManager.<init>(CoreAccountManager.java:89)
05-22 12:31:54.762: E/AndroidRuntime(5587): at com.dropbox.sync.android.DbxAccountManager.getInstance(DbxAccountManager.java:112)
Any clue what am I doing wrong?
Dropbox supports OAuth 2.0 for authorizing API requests. Find out more in our OAuth guide. Authorized requests to the API should use an Authorization header with the value Bearer <TOKEN> , where <TOKEN> is an access token obtained through the OAuth flow.
You'll need to have a Dropbox account to access the APIs. If you don't already have one, you can sign up for a free account here.
Ok, I got the answer, you should lend to register_your_app_page first and you will get you keys there.
And don't forget to copy all libs provided with dropbox sdk in order to avoid init problems.
Step 1: Sign in new Dropbox Account here, Create your Dropbox APP HERE
Step 2: There are 2 options available creating a app, Drops-in App & Dropbox API App. You have to select Dropbox API app and give the name of your app.
step 3: Go to App Console and select your created app. Under settings tab you can see the APP_KEY(App key) and SECRET_KEY(App secret)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With