https://www.dropbox.com/developers/dropins/chooser/android
I am trying to use the android chooser in Android Studio but I not sure how to import it to my project and user it. I am using Android Studio, not Eclipse Android Studio if that has any relevance. I just have no idea how to being the unzipped file into use in my project.
First step of integrating Dropbox SDK in Android app is Authentication Process. For Authenticating and getting App Key and App Secret go to www.dropbox.com/developers/apps and login. Select the Dropbox API app as shown below.
Using the Chooser. The Chooser is the fastest way to get files from Dropbox into your Android app. It's a small library that enables your app to access files from Dropbox without having to worry about the complexities of implementing a file browser, OAuth, or managing uploads and storage.
You are required to download dropbox-android-sdk-1.6.3.jar and json_simple-1.1.jar and place these files in your Libs folder of your android project as shown below. Now add dependency in application gradle file.
Updated instructions can now be found as part of the standard Sync SDK setup. Yesterday a developer asked on Stack Overflow how he could use the Dropbox Sync API with Android Studio. Although we mention that you can use other tools, we only provide instructions for using the Android Sync API with Eclipse.
It's more complex than it ought to be, but this procedure worked for more than just the Dropbox SDK.
Now, to reference the library in your main project:
This should do the trick. Sync, build, and all should be good.
The Dropbox developers page now includes documentation on how to use the Chooser SDK with Android Studio.
Basically, you create a module from the SDK, and then you add it as a dependency to your project.
Detailed steps are described here: https://www.dropbox.com/developers/dropins/chooser/android
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