Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Loading Local Files

$
0
0

So I have a folder in app/Resources/web and in there, I want to load index.html.

So, My code in my app.js is var appwebview = Titanium.UI.WebView({ url:'Resources/web/streaming.html' }); win1.add(appwebview);

When the app loads, I get an error that says Uncaught Type Error - cannot read property 'replace' of undifined at index.html (line 8592)

I only have like 20 lines of stuff in my index.html so IDK why titanium is pulling this out of their butt... Anyways, ideas? Thanks


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>