How would one open a local HTML file in Mobile Safari or the Android browser?
The file "help.html" is in Resources/ along with app.js.
I would have thought something like:
var url = Ti.Filesystem.resourcesDirectory + Ti.Filesystem.separator + "help.html"; Ti.API.info("Opening help: " + url); Ti.Platform.openURL(url);would be what I'm looking for, but it doesn't do anything (other than print the url).
All apps in iOS work in a sandbox and have no access to the ressources of an other app. Because this, Mobile Safari can’t open your local app files.
Think you can help? Login to answer this question!