How to load large text and some items?

Hi,

I´m newbie Corona.

I want to create a simple app about a museum of my city. I have a “home” with tabs, an each tab load a new .lua (item list).

I will work with some items (about 50 for each scene) and I don´t want to create into .lua; also, each item show a description text (very large).

My question is about the best way to load several items externally (.txt, xml, sQlite…), and how to load large text for each item.
Thanks,
Pedro J. Bernal
(Spain) [import]uid: 7996 topic_id: 3710 reply_id: 303710[/import]

Hi Pedro,

Corona currently supports synchronous download using luasocket:

http://developer.anscamobile.com/content/network

By ‘synchronous’ I mean that each loading operation blocks other operations, such as updating the screen. A clever workaround to this limitation was created by another user:

http://developer.anscamobile.com/code/corona-async-http

hope this helps,

Tim

[import]uid: 8196 topic_id: 3710 reply_id: 11440[/import]

Thanks Tim,

But, It´s for online content? My content will be off-line…

Thanks for your time :wink: [import]uid: 7996 topic_id: 3710 reply_id: 11441[/import]