How to get my APP_KEY and SECRET_KEY for Dropbox sync?
Asked Answered
Z

2

15

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:

  1. Permissions and com.dropbox.client2.android.AuthActivity in manifest
  2. Signed my app with my release-key-store
  3. Implemented some code to check 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?

Zeuxis answered 22/5, 2013 at 12:50 Comment(0)
Z
17

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.

Zeuxis answered 23/5, 2013 at 7:54 Comment(0)
H
4

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)

Hurried answered 17/7, 2015 at 4:54 Comment(1)
This is a more straightforward answer than the currently-accepted one, in my opinion, and it works (from ios, in my case, whose web interface on Dropbox does not seem to include the given link, annoyingly).Wallraff

© 2022 - 2024 — McMap. All rights reserved.