How do you copy or read a small text file from Dropbox into app

Looking through the forums I found a thread discussing Dropbox but got lost following it.

I am looking to use Dropbox to enable a text file to be updated within the app. Is there a tutorial or example program that copies or reads a file from Dropbox to the device, and is easy to understand?

Thanks, :unsure:

I’ve never done this but what you could do is :: Make a link for that txt file and put it in your app … So when the app starts the files gets downloaded and updated and then you can open and read that file… Easy as that.

–SonicX278

We don’t directly support using Dropbox. Our CoronaViewer product uses Dropbox, but we’ve never exposed that to users. I believe that Dropbox uses a RESTful API which you could possibly get to work using network.request() and network.download().

Rob

Someone may have a specific suggestion, but you can google these terms and find some solutions:

“corona sdk dropbox github”

https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=dropbox%20corona%20sdk%20github

I’m not pulling your leg or shaming BTW.  This is a serious answer.  There are several implementations out there on gitHub.   You will have to research them yourself unless someone answer backs with a specific option.

Also, you might look into Chris’ recent post.  OAuth.io supports dropbox

I really  :wub:  like the idea of having a link and downloading it that way - however can you give me a clue of the instructions to use to copy the file given its URL

:rolleyes:  

I’ve never done this but what you could do is :: Make a link for that txt file and put it in your app … So when the app starts the files gets downloaded and updated and then you can open and read that file… Easy as that.

–SonicX278

We don’t directly support using Dropbox. Our CoronaViewer product uses Dropbox, but we’ve never exposed that to users. I believe that Dropbox uses a RESTful API which you could possibly get to work using network.request() and network.download().

Rob

Someone may have a specific suggestion, but you can google these terms and find some solutions:

“corona sdk dropbox github”

https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=dropbox%20corona%20sdk%20github

I’m not pulling your leg or shaming BTW.  This is a serious answer.  There are several implementations out there on gitHub.   You will have to research them yourself unless someone answer backs with a specific option.

Also, you might look into Chris’ recent post.  OAuth.io supports dropbox

I really  :wub:  like the idea of having a link and downloading it that way - however can you give me a clue of the instructions to use to copy the file given its URL

:rolleyes: