簡體   English   中英

無法在Titanium 3.1.3中使用OpenUrl()屬性

[英]OpenUrl() property not working in Titanium 3.1.3

我已使用Ti.Platform.openUrl()屬性在Android應用程序中打開網站鏈接。 但是,此“ openUrl()”屬性在Titanium 3.0.2或更低版本中可以正常工作。 在Titanium 3.1.3版本中不起作用。 任何人都可以建議我解決此問題或替代方法。

我的代碼如下所示;

button.addEventListener('click',function(e){
Ti.Platform.openURL("https://www.google.co.in/");
});

其Ti.Platform而非Ti.platform

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM