iOS And XML Image Results Download in the Background?

Gerry Orkin gerry.orkin at gmail.com
Tue Feb 21 05:32:47 EST 2012


Yep, this is do-able. Have a look at this post on the forums: http://forums.runrev.com/viewtopic.php?f=49&t=8934&start=15#p43063 .

That's an example of an iOS app that downloads another stack from the internet and then goes to that stack. You have a different use case but the method of downloading files I use can be adapted to your purpose.

Gerry



On 19/02/2012, at 4:40 PM, johnpatten at me.com wrote:

> Hi All...
> 
> I'm looking to use the Flickr API search routine to return the latest images for a specific tag. I will probably limit it to the 10 or 20 most recent images. I can create the resulting URL to the images from the resulting XML, and set the file name of an image to that URL, looping through the list of images, but I'm curious as to what would be best practice would be to download these images in the background? Ideally I would like the user to be able to use the simulated swipe routines between the images.
> 
> The only thing I can think of is downloading the images in the background as soon as the iOS app is launched. Could a script like this be launched at openStack and run in the background?
> 
> Thank you!
> 
> John Patten
> SUSD
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list