Wishlist: Dropbox API

thedesolatesoul

Expert
Licensed User
Longtime User
Here is the mobile API documentation: https://www.dropbox.com/developers/docs

Most of it can be done with HttpUtils I think.
So far the only problem I see the the progress of upload/download files.

I want to do this at some point but I do not have the time at the moment.
In the meantime I am willing to help anyone because I have done some work on this (Desktop client though).
 

Jorbazz

Member
Licensed User
Longtime User
I have looked at the documentation but im not sure how to begin this..
Edit:
This shouldnt be a problem?
/files

Retrieves or uploads file contents relative to the user's Dropbox root or the application's directory within the user's Dropbox.

Method(s)
GET, POST
Parameter(s)

POST:

file - When POST is used for uploading a file, <path> specifies a directory and the file parameter must be passsed using multi-part form data to specify the name of the newly uploaded file. Please note: the Dropbox API doesn't currently support uploading using chunked encoding. We recommend multipart encoding.

Returns

For GET, returns file contents. POST success or failure is reported via HTTP status code.
 
Last edited:

thedesolatesoul

Expert
Licensed User
Longtime User
I guess we could go about this two ways.
Either use the Dropbox Java Client Library: https://www.dropbox.com/developers/releases
and hope we can roll it into a B4A library with no hitches.

Or write our own functions using HttpUtils. (start with the authentication url, form a post http request, check the reply etc)

First ofcourse you need to get a developer key from: https://www.dropbox.com/developers/apps

Have you tried comiliing libraries? I can give it a try when i get home.
 
Top