Your workflow is unique 👨‍💻 -  tell us how you use Dropbox here.

Forum Discussion

Deepika M.'s avatar
Deepika M.
New member | Level 1
9 years ago

I would like to use dropbox syncing mechanism to my app, to upload images from my app.

Hi,

I have an app which takes some number of images every day, and saves locally in sd card with date wise folder. so now i want to upload these pictures automatically in background to my dropbox account.

I have created one account in dropbox, which should act like admin, in that all the users of my app, should be able to upload their images with userid/date/image1.jpg

from the Android DropBox Core API 1.6.3 i am trying, will it possible with this API?

any other solution to do this.

1 Reply

Replies have been turned off for this discussion
  • Alexandra F.1's avatar
    Alexandra F.1
    New member | Level 1
    9 years ago

    Just to make sure I understand, you want users to be able to upload images from their SD cards to their Dropbox accounts, using the API? This is definitely possible with the Android SDK. You'll want to follow along on the tutorial here (v1: https://www.dropbox.com/developers-v1/core/start/android; though, I strongly recommend using v2, tutorial here: https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/android) to guide the users through the flow to link their own Dropbox accounts, and then upload images via the API. I imagine you can make your app work in the background using Android features. 

    If, however, you mean that you want users to upload all their images to your Dropbox account, that's different. The API was designed with the intention that each user would link their own Dropbox account, in order to interact with their own files. However, it is technically possible to connect to just one account. The SDKs don't offer explicit support for it and we don't recommend doing so, for various technical and security reasons.

    However if you did want to go this route, instead of kicking off the authorization flow, you would manually use an existing access token for your account and app. (Just be careful not to revoke it, e.g. via https://www.dropbox.com/account/security .)

About Dropbox API Support and Feedback

Node avatar for Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!