App Inventor, API Access and Authentication

How to upload a file into your Dropbox Dropbox

Preparation: Create an App in Dropbox

This example uses version 2 of the Dropbox API. How to use the upload method see also the documentation.

First create an app in Dropbox. There are 2 different access types: access to the complete Dropbox of a user (access type = dropbox) or only to a specific folder (access type = sandbox). The demo uses the sandbox access type. You also might want to use the sandbox access type because of security reasons.

To keep it as simple as possible, we then Generate an access token using the "Generate" button and add the access token into the app, which means, all user will use that generated access token to upload their images into your Dropbox. No more hassle with OAuth! It's really that simple, see screenshots...

App Inventor Blocks



Do you need help with your App Inventor project?

I can help you: for one hour I charge 25 USD.
Please contact me at info [at] puravidaapps [dot] com for details!
For questions about App Inventor, please use the App Inventor forum. Thank you.


If you find this example helpful and you are using it in one of your projects,
be nice and donate a small amount!

Donation amount:

or donate some mBTC to Bitcoin Address:

Thank you! Taifun

Download Dropbox project (aia file) to test with your access token and your Dropbox
Back to top of page ...

Creative Commons License
This work by Pura Vida Apps is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License
with attribution (name=Pura Vida Apps and link to the source site) required.

Home | Snippets | Tutorials | Extensions | News | Forums | Links | Search | Contact