Local HTTPRequest
Hi!
Is it possible to fetch a local file packaged within the app using the HTTPClient? If so - how?
Thanks in advance
/Jacob
3 Answers
-
Something like….
var webview = Ti.UI.createWebView();
webview.url = 'local_webview.html';
win1.add(webview);See Kitchen sink example too.
-
Hi!
Thanks, but unfortunately that's not what I'm after.
I'd like to fetch the contents of a local file, be it an html file, a text file or something else. I wonder if this is possible using the HTTPClient, but I can't seem to find the right prefix (http://, file://, app://) or anything else that could solve it.Any other takes?
-
I would like to know about this too.
Bump.