Sample stack using "DropBox" to save and retrieve small file
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Sample stack using "DropBox" to save and retrieve small file
Can anyone share a sample stack using "DropBox" to save and retrieve small txt and binary files to an IOS device?
Thanks,
David
Thanks,
David
-
- Posts: 738
- Joined: Thu Sep 11, 2014 1:49 pm
Re: Sample stack using "DropBox" to save and retrieve small
I only have this attached example for you.
Do not know if this is still valid and i cannot help you with it, but you are welcome to test it.
See other posts on dropbox related to livecode LiveCode 9.0.0 DP 7
regards,
Paul
Do not know if this is still valid and i cannot help you with it, but you are welcome to test it.
See other posts on dropbox related to livecode LiveCode 9.0.0 DP 7
regards,
Paul
- Attachments
-
- DropboxAPI_2.zip
- Dropbox API example
- (95.42 KiB) Downloaded 240 times
Re: Sample stack using "DropBox" to save and retrieve small
David,
If you've been reading the other threads, dropbox is in flux, because the v1 API is deprecated and scheduled to cease at the end of the month. That means using the v2 API. There are multiple threads on the topic, but I think the most useful one is at http://forums.livecode.com/viewtopic.php?f=9&t=29392
If that doesn't help you get started, you know how to find me.
If you've been reading the other threads, dropbox is in flux, because the v1 API is deprecated and scheduled to cease at the end of the month. That means using the v2 API. There are multiple threads on the topic, but I think the most useful one is at http://forums.livecode.com/viewtopic.php?f=9&t=29392
If that doesn't help you get started, you know how to find me.
Re: Sample stack using "DropBox" to save and retrieve small
Mikey and mroollion,
Thanks for the guidance.
Sounds like maybe I should wait a month or so before trying to figure out how to import a couple small files to app from DropBox?
I have an Indy license.
I don't know whether I should be using LC8 or LC9.
David
Thanks for the guidance.
Sounds like maybe I should wait a month or so before trying to figure out how to import a couple small files to app from DropBox?
I have an Indy license.
I don't know whether I should be using LC8 or LC9.
David
Re: Sample stack using "DropBox" to save and retrieve small
David,
I would have at it, now. The library is there, and I've been frantically testing and working on moving my existing projects over to it since Monte put it out several weeks ago, because we're almost out of time. Gerard's code, also in my repo, has been out for a year or so, and seems to work just fine. I have only run into some minor things with LC's library, but since it's just straight LCS, I was able to patch it myself while waiting for LC to release their own fix.
If you want to use it in 8, it's just a matter of downloading the library from my github repo and adding it as a substack to your project.
I would have at it, now. The library is there, and I've been frantically testing and working on moving my existing projects over to it since Monte put it out several weeks ago, because we're almost out of time. Gerard's code, also in my repo, has been out for a year or so, and seems to work just fine. I have only run into some minor things with LC's library, but since it's just straight LCS, I was able to patch it myself while waiting for LC to release their own fix.
If you want to use it in 8, it's just a matter of downloading the library from my github repo and adding it as a substack to your project.
Re: Sample stack using "DropBox" to save and retrieve small
Mikey,
Maybe after your compression eases, you could post a sample stack on just exporting and importing a simple text file to a LC ios app using DropBox. I will need to learn how to install and use a new LC library in the mean time.
Thanks for your help,
David
Maybe after your compression eases, you could post a sample stack on just exporting and importing a simple text file to a LC ios app using DropBox. I will need to learn how to install and use a new LC library in the mean time.
Thanks for your help,
David
Re: Sample stack using "DropBox" to save and retrieve small
Yes, but it's going to be a while. I'm in the midst of updating a bunch of apps that use dropbox to use the new library.
Here's an easy way to get to play with it in 8 without having to figure out how to install anything so you can play with it:
Download it from my repo.
If you know how to use substacks, then make the library into a substack of your main stack but if you don't, then right-click on it and open it with any text editor, copy the code, and paste into your stack's stack script. That will get you going for now.
Here's an easy way to get to play with it in 8 without having to figure out how to install anything so you can play with it:
Download it from my repo.
If you know how to use substacks, then make the library into a substack of your main stack but if you don't, then right-click on it and open it with any text editor, copy the code, and paste into your stack's stack script. That will get you going for now.