How to create an app with local HTML files?

Dear experts
Sorry for a newbie question. I have some local HTML files which I hope to call from Corona and package into a simple app (mostly reference or document-type “apps”).

Basically, within the project directory where the .lua file is, there will be HTML5, JS images, etc. I was hoping to call “index.html” file from within the .lua file, but to no success (tried the Xcode simulator and an actual iPod Touch, no go).

I tried the system.openURL and the native.showWebPop but don’t know how to make them work.

The sample file directory is shown at this URL:

http://mbamx.com/1localhtmlscreen.jpg

Please help! I just subscribed to the SDK (for both iOS and Android) and hope to get this to work asap for my non-profit work.

much thanks in advance.

seamus [import]uid: 9455 topic_id: 7462 reply_id: 307462[/import]

Dear friends
I tried various things, up till:

native.showWebPopup(“index.html”, {baseUrl = system.ResourceDirectory, hasBackground = false, urlRequest=listener} );

And the compiled app seems to show the index.html file, but when I tried to click through the links on that page, it just goes black and no click through occurs.

Anyone can kindly help? This is for a series of html5 pages for some non-profit documentation projects.

humbly, regards
seamus [import]uid: 9455 topic_id: 7462 reply_id: 26455[/import]

Can you post your index.html file?

Are the links pointing to the root of your folder?

Are the files that the links point to in your folder?

I’ve created dozens of apps using html on iOS and it should work fine.
[import]uid: 8045 topic_id: 7462 reply_id: 26703[/import]