I am new to Corona, and I was wondering what the best way is to display a webpage inside an app? [import]uid: 82872 topic_id: 26430 reply_id: 326430[/import]
Thank you for answering my question. [import]uid: 82872 topic_id: 26430 reply_id: 107417[/import]
Take a look here: http://developer.anscamobile.com/reference/index/nativenewwebview
There’s a demo of some very cool stuff on YouTube too [import]uid: 8271 topic_id: 26430 reply_id: 107237[/import]
Sorry, wrong link. Updated above. [import]uid: 8271 topic_id: 26430 reply_id: 107463[/import]
I made the app so when it opens, it displays a web page (a spinner appears while the website loads). When I press the home button (leaving the app) and when I re enter the app, the website has to reload. Is there a way to cache the website so it displays the website instantly and then updates. [import]uid: 82872 topic_id: 26430 reply_id: 108000[/import]
You can add a listener to the web control which effectively routes all web requests through your code. This is how I would do it anyway, so you can intercept all calls and provide functionality for what look like normal links. You can then cache any pages the web control requests and serve them locally. [import]uid: 8271 topic_id: 26430 reply_id: 108018[/import]