thanks in advance. i was trying to use the native.showWebPopup, but seems it only support access system.ResourceDirectory. I can’t like download a HTML and open it via the WebPopup which save the file in system.DocumentsDirectory.
The code i used:
local options = { baseUrl=system.DocumentsDirectory, urlRequest=webListener }
native.showWebPopup(x, y, 320, 180, “index.html”, options )
many thanks
eric [import]uid: 4050 topic_id: 4079 reply_id: 304079[/import]
I think this is a bug in the latest release, where you can load remote content fine but local content doesn’t show. I know it’s been squashed though, and everything will be working fine in the next release (as far as web popups go). Hopefully the new release will be out soon. [import]uid: 7849 topic_id: 4079 reply_id: 12560[/import]
I unsuccessfully tried to display local files. I don’t know if it was my code or if it’s a problem with Corona.
I tried doing some tests this morning, but now I’m getting 500 Internal Server Errors while building my app.
Heh, I’m not off to a strong start with the WebPopup.
UPDATE - It looks like the Corona server had some trouble this morning. I was able to test the WebPopup. I was able to load web pages, but not local web content.
Maybe this bug is still unresolved. [import]uid: 13264 topic_id: 4079 reply_id: 24917[/import]