钛开新网址

Jqu*_*ers 10 html javascript css macos titanium

我想在用户点击图片时在默认浏览器中打开一个新网址.我查看了Titanium.Platform.openURL,但不知道如何使用它.

任何帮助表示赞赏

jel*_*ree 21

Ti.Platform.openURL("http://m.google.com"); //replace string lit with your url
Run Code Online (Sandbox Code Playgroud)