- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
<!DOCTYPE html>
<html>
<!--
* Please see the included README.md file for license terms and conditions.
-->
<head>
<title>Blank Cordova Mobile App Project Template (Lite)</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<!-- see http://webdesign.tutsplus.com/tutorials/htmlcss-tutorials/quick-tip-dont-forget-the-viewport-meta-tag -->
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<style>
/* following two viewport lines are equivalent to the meta viewport statement above, needed for Windows */
/* see http://www.quirksmode.org/blog/archives/2014/05/html5_dev_conf.html and http://dev.w3.org/csswg/css-device-adapt/ */
@-ms-viewport { width: 100vw ; zoom: 100% ; } @viewport { width: 100vw ; zoom: 100% ; }
@-ms-viewport { user-zoom: fixed ; } @viewport { user-zoom: fixed ; }
</style>
<script src="cordova.js"></script> <!-- phantom library, needed for Cordova api calls, added during build -->
<script src="js/app.js"></script> <!-- recommended location of your JavaScript code relative to other JS files -->
<script src="xdk/init-dev.js"></script> <!-- normalizes device and document ready events, see README for details -->
<script>documnet.write("hello workd!");</script>
</head>
<body>
<p> what is Cordova! </p>
<script>documnet.write("hello workd!");</script>
<br/>
<ul>
<li>aaa</li>
<li>bbb</li>
<li>ccc</li>
</ul>
<script>
var a=10;
var b=20;
var s= a+b;
document.write(s);
</script>
<script>
function demo(a,b)
{
var sum = a+b;
return sum;
}
var v1 = demo(20,20);
document.write(v1);
</script>
</body>
</html>
- Tags:
- HTML5
- Intel® XDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Mieyu,
I can infer his:
created a project whose project type is HTML5+Cordova,
build for win8,
and can be successfully installed on WIN8,
after opening it, enter splan page and then quit directly
Correct me if I misunderstood.
Can you give more details about what you are trying to accomplish?
And if you can send zip file of your entire project it will be great.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, google translate isn't doing a good job of translating your post. Could you post in English if possible?
All I got was that you created a blank HTML5+Cordova Project and built successfully for Windows.
很抱歉,谷歌翻译是不是做你的翻译后的一个好工作。你可以在英语,如果可能的发布?
我得到的是,你创建一个空白的HTML5 +科尔多瓦项目,并成功地为Windows内置。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Mieyu,
I can infer his:
created a project whose project type is HTML5+Cordova,
build for win8,
and can be successfully installed on WIN8,
after opening it, enter splan page and then quit directly
Correct me if I misunderstood.
Can you give more details about what you are trying to accomplish?
And if you can send zip file of your entire project it will be great.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the zip file is upload
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Meiyu,
We have a HTML5 Chinese forum :) https://software.intel.com/en-us/forum/41158. Please post there is possible. It could be that your app is not waiting for the device API libraries to load. Your web app may potentially be trying to call a Cordova JavaScript function before the corresponding native code becomes available.
https://cordova.apache.org/docs/en/4.0.0/cordova_events_events.md.html#deviceready
你好梅雨,
我们有一个HTML5中国论坛:) https://software.intel.com/en-us/forum/41158 。请张贴有可能的。这可能是您的应用程序不等待设备API库加载。你的web应用程序可能会被试图调用科尔多瓦JavaScript函数对应的本地代码可用之前。
https://cordova.apache.org/docs/en/4.0.0/cordova_events_events.md.html#deviceready
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page