IS there some way to display images from the web? scenario would be that i want to display a mini gallery or thumbs of users from facebook or twitter. I want to avoid downloading because when i download images using the method described in sample code it freezes the application for about 1 second while the download and file IO part happens and that provides a bad user experience. Is there some way to stream display all those images? [import]uid: 6317 topic_id: 4644 reply_id: 304644[/import]
You can use Async_HTTP to download the images in the background:
https://github.com/nielsvanspauwen/corona-async-http
If you still don’t want to download the images one by one, then as far as I know the only other way is to:
- store your display page on a server
- point a web popup to the URL
- The page would need app server logic driven by the HTTP GET variables and would show the correct content.
- Capture user selection on the web popup with the URL listener.
I’d like to have an img object loaded from a HTTP url also, but don’t think it’s possible at the moment. [import]uid: 11393 topic_id: 4644 reply_id: 14684[/import]
hmm ok seems like a cool workaround for now. Hoping Corona can add some official support sometime soon [import]uid: 6317 topic_id: 4644 reply_id: 14685[/import]