I have added the sdk files like dropbox website says, but I can’t figure out how to implement the package. In Xcode, for iOS, the implementation would be done in this way:
#import <DropboxSDK/DropboxSDK.h>
…but in android i can’t understand how to do it (I’m new to android). I tried this:
package com.dropbox;
…and even this…
package com.dropbox.android.sample;
…from the DBRoulette, but no way: it gives an error saying I have to move the .json file in the lib folder. when I do it, the error disappears, but the app does not launch.
Thanks for any answers
in your project libs folder you need to add the jar file
and in your project you need to add
add the import function where you want dropbox.jar class files like below
Note: your package may be anything you can have it but you need to import package as
com.dropbox....