更新时间:2023-10-16 16:57:28
您可以在本机浏览器中打开链接(Mobile Safari,Android等) 。)来自HTML5移动应用程序,使用 intel.xdk API以前 AppMobi 。
You can open a link in the native browser(Mobile Safari, Android, etc.) from within a HTML5 Mobile app using the intel.xdk API formerly AppMobi.
在头部,包括对intelxdk.js文件的引用。
In the head, include a reference to the intelxdk.js file.
<script src="intelxdk.js"></script>
用于打开链接:
<a href="#" onclick="intel.xdk.device.launchExternal('http://www.intel.com');">Launch in Browser</a>
有关更多信息,请转到 http://www.html5dev-software.intel.com/documentation/jsAPI/device/launchExternal/index.html
For more information, go to http://www.html5dev-software.intel.com/documentation/jsAPI/device/launchExternal/index.html