Greg-DB Dropbox Community Moderator

Comments

  • Thanks for the additional feedback Evgeny! I can't speak to why or why not particular changes are or aren't implemented, but we appreciate everyone taking the time to write, and I'm sending this along to the team.
  • I don't have an update on the Dropbox for Android app potentially returning content:// links for ACTION_GET_CONTENT in the future, but I'll be sure to pass this along as feedback.
  • openInputStream was added in API level 1 and is documented to support both content and file schemes, so it looks like it should work.
  • Thanks for your patience Craig. I heard back from engineering here with the following information: * FLAG_GRANT_READ_URI_PERMISSION seems to have no effect. * On Android API level 18 (and presumably probably below), specifying READ_EXTERNAL_STORAGE or WRITE_EXTERNAL_STORAGE does not matter. The calling app is able to read…
  • Still no news on potentially using content:// instead yet, but I'll ask engineering if something changed about the existing behavior/any guidance.
  • Apologies, no update right now. I'll check in with the right people again.
  • Thanks for the report! I'm sending this along to the right people.
  • You should certainly be able to access files in subfolders using the API, by specifying the path of the subfolder, e.g., /foldername/subfoldername. This thread was about a specific scenario with the sample app, so if you're still having trouble, please open a new thread with more details:…
  • By default, the Photos folder exists at /Photos, so that DBRoulette example will only work for non-app folder permission apps, since app folders exist at /Apps/{app folder name}. You can create a Photos folder inside /Apps/{app folder name} manually though, e.g., via the web site. Anyway, sample app aside, the "My app only…
  • This is a known issue. I unfortunately don't have a timeline for a fix or a workaround to offer right now though.
  • We generally get to all production requests within a few business days.
  • We can't provide any absolute guarantee of your app's compliance based on this hypothetical description, so you should be sure to review all the guidelines and terms before developing an app: https://www.dropbox.com/developers/reference/tos https://www.dropbox.com/developers/reference/devguide…
  • For reference, the Dropbox API does have a rate limiting system, but it is per-user, so you don't need to worry about a single user getting your entire app (and other users) rate limited. And yes, it is normal and acceptable that desktop apps will handle the user's access token locally.
  • That error indicates that the API didn't receive a file included with the POST to the /files (POST) endpoint as expected. Note that if the library supports it, we recommend using the /files_put endpoint instead.
  • Unfortunately as we didn't make that CodeIgniter library we can't really provide any support for it ourselves. Perhaps someone on the forum is familiar with it though. Otherwise, you may want to ask the developer for help.
  • There are a few things to check on first in cases like this: * Are both devices linked to the same account? E.g., check DBAccount.userId * Do you see the change from the first device on the Dropbox web site? Changes go to the Dropbox servers first in order to get propagated to other devices. So, for example, if the device…
  • [Cross-linking with StackOverflow where it seems you've already sorted this out: https://stackoverflow.com/questions/28540950/dropbox-php-api-error ]
  • You can use DBFilesystem.fileInfoForPath: https://www.dropbox.com/developers/sync/docs/ios#DBFilesystem.fileInfoForPath:error: You probably want to do that before you do createFile though.
  • For the sources, next to "Sources not found", click "Attach Sources" and select the .zip from the Android Core SDK download page. Regarding downloading a file, can you elaborate on the issue you're having? Once you have the SDK added, it should just be the same as shown in the tutorial. Also, I believe only…
  • * Download the zip from: https://www.dropbox.com/developers/core/sdks/android * Unzip it * Add the jars from the lib folder to app/libs in your project * Right click on them and choose "Add as Library..."
  • 1) If you change the app folder name via the App Console, new users will get the new app folder name, but existing users will keep their existing app folder name. 2) It's not currently possible from your side to move an app from production to development. Do you mean what happens if you disable an app that is in production…
  • Thanks, that's helpful. Ok, so it looks like you're using the Android Core SDK. That presumably means you're using either Eclipse or Android Studio. In either case, when you use mDBApi to make an actual API call after all of the setup you have here, if something went wrong it would raise an exception with specific…
  • What SDK are you using? Can you share your code? Can you copy any output you are getting?
  • What exactly do you mean when you say "can't access it"? What error are you getting? One thing to note is that access tokens are app-specific, so you can't use an access token from the original app with the new app key and secret. If that is what you're trying to do, you'll need to process the app authorization flow again,…
  • You need to make sure you make the API calls from your server only, not from the user's web browser. If you make the call from the user's browser, the call will need to include the access token, which you don't want to expose to them.
  • Yes, if you want them to upload to only your account, you can use the generated access token for your account. This can only be safely done if this is a web app, where you can protect the access token on the server.
  • I'm not sure I understand your question. Have you run into a specific issue you can post the details for? We don't have specific samples for using a single account only, but it doesn't really change how you use the API, so I recommend working through the samples/tutorial for whatever SDK you're using.
  • Which thing in that screenshot are you referring to? The first lets you enable/disable the "implicit" a.k.a. "token" OAuth 2 flow for your app. The second lets you generate an access token for your account to connect to that app. If you do only need to connect to your own account that is an easy way to get an access token.
  • If you want the students to only upload to your own account, you can use the API with only your own access token as I described, and they won't need to have their own Dropbox accounts.
  • The key the email is referring to is just your app's existing app key. While in development mode, only up 100 users can link your app to their accounts. Once in production mode, any number of user accounts can be linked to your app. The development/production switch doesn't affect how your app or the app authorization flow…