-
Where do I use the app Secret Key? and a Log Out remark...
Hi, 1. When I created my app account I saw a field named "Secret Key", where should I use it? 2. When I tried to use the: .tokenRevoke(); command it didn't really logged out of the Dropbox account, the evidence for that is that right after sending this command I could call the method: Auth.getOAuth2Token(); and get a valid…
-
Where should I locate the 'startOAuth2Authentication'?
Hi, Question 1: I'm totally new to Android Studio and I have to add a DropBox (SDK V2) files loading method to an existing project. As I understood I have to add the following line to my code: Auth.startOAuth2Authentication(UserActivity.this, getString(R.string.app_key)); as shows here in line 36:…
-
Unable to migrate to API v2
Hi again, I downloaded the new DropBox-SDK from here: https://github.com/dropbox/dropbox-sdk-java and I extracted it into an empty folder. I also tried several examples there, for example: ...\dropbox-sdk-java-master\examples\upload-file ...\dropbox-sdk-java-master\examples\android but I keep getting errors like:…
-
Where should I see the "v1_retired" error ?
Hi again, Sorry if it's a stupid question but where exactly should I see the "v1_retired" error? Here is the part of my code where I'm trying to upload a file into the DropBox folder: try { if (!dbxFs.exists(testPath)) { testFile = dbxFs.create(testPath); testFile.writeFromExistingFile(file, false); testFile.close(); } }…
-
Where can I find Full Simple DropBox example to download ?
Hi all, I'm looking for a simple DropBox example project that I can just download as a Zip file and then compile in my Android Studio and run on my Nexus 5 (Android) device. I need a simple project that send one Jpg file from my device to my Dropbox. Can you please give my a link to such example? There are many code…