openURL doesn't load local file

Is there any way for native.openURL(“file://index.html”) ?

I know I can do it by using the webPopUp, but this last one lacks Safari features that I need, so I have to use native.openURL to load a local file. I saw in document API that we can specify mailto:, http:// and telephone, but I don’t know why we can’t have the ability to also perform file://

Regards,

Flavio. [import]uid: 3022 topic_id: 1003 reply_id: 301003[/import]

You mean you want to launch Safari (and close down your app), but point Safari to a local HTML document rather than a remote URL? [import]uid: 3007 topic_id: 1003 reply_id: 2542[/import]

Evank,

Yes! That´s simple. I wish to use system.openURL(“file://index.html”). So file URL is currently not supported by CORONA.

The reason why I asking this features, is because I need to use some HTML5/CSS content, so as I noticed I can´t use them in WebPopUp (which lacks Safari engine capabilities) the only possible way should be by using system.openURL with FILE declaration. Of course, this solution would be better if WebPopUp could support Safari native CSS and HTML5.

Regards,

Flavio [import]uid: 3022 topic_id: 1003 reply_id: 2547[/import]

I fear that is not possible because Safari would need to access data in your applications sandbox. Which then would allow Safari to access data inside of every other applications sandbox too!? [import]uid: 6928 topic_id: 1003 reply_id: 2965[/import]