alexsalo
alexsalo

Reputation: 1495

How to get my APP_KEY and SECRET_KEY for Dropbox sync?

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?

Upvotes: 15

Views: 26449

Answers (2)

Kannan S
Kannan S

Reputation: 2489

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)

Upvotes: 4

alexsalo
alexsalo

Reputation: 1495

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.

Upvotes: 17

Related Questions