I'm trying to display a remote URL using WebView. I can display the URL on iOS, but on Android, all I see is a blank white screen, although the window title does have the correct title.
Why is Android showing only a blank white screen but it works on iOS? I'm using the 2.2 emulator; I can't use 2.3 because the evalJS function is horribly broken on the 2.3 emulator.
Here's a very simple app.js that demonstrates the problem:
Titanium.UI.setBackgroundColor('#000'); var window = Titanium.UI.createWindow({ title: "Show Google", backgroundColor: "#000" }); webView = Ti.UI.createWebView({ height: Ti.Platform.displayCaps.platformHeight, width: Ti.Platform.displayCaps.platformWidth, top: 0, url: "http://www.google.com" }); window.add(webView); window.open();Thank you!!!!
-Ryan
Your Answer
Think you can help? Login to answer this question!