當我創建應用程序時,啓動窗口是intel html5,徽標也顯示爲intel html5。我只想在設備中執行我的應用程序時刪除intel xdk html 5啓動畫面。我正在使用Android設備。 是否有任何Java腳本文件或任何其他功能來刪除或自定義我的應用程序的開始窗口。這是我當前的代碼:intel xdk應用程序開發intel html5 coustomization啓動畫面
<!DOCTYPE HTML>
<html>
<head>
<script type="text/javascript">
function insert(){
var db = openDatabase('mydb', '1.0', 'Test DB', 2 * 1024 * 1024);
var msg;
db.transaction(function (tx) {
var nam = document.getElementById("Tname").value;
var id = document.getElementById("Tid").value;
var name2 = "velocity";
tx.executeSql('CREATE TABLE IF NOT EXISTS APP (id unique, log)');
tx.executeSql('INSERT INTO APP (id, log) VALUES (?,?)',[id,nam]);
//tx.executeSql('INSERT INTO LOGS (id, log) VALUES (61,'+name2+')');
msg = '<p>Log message created and row inserted.</p>';
document.querySelector('#status').innerHTML = msg;
});
}
function readdata(){
var db = openDatabase('mydb', '1.0', 'Test DB', 2 * 1024 * 1024);
var id = document.getElementById("Tid").value;
db.transaction(function (tx) {
tx.executeSql('SELECT * FROM APP', [], function (tx, results) {
console.log("All rows:");
var len = results.rows.length, i;
msg = "<p>Found rows: " + len + "</p>";
document.querySelector('#status').innerHTML += msg;
for (i = 0; i < len; i++){
msg = "<p><b>Name :-" + results.rows.item(i).log +"<br/>Contact :-" +results.rows.item(i).id + "</b></p>";
msg = "<p><b>Name :-" + results.rows.item(i).log +"<br/>Contact :-" +results.rows.item(i).id + "</b></p>";
//var row = result.rows.item(i);
//msg = console.log(" " + row.contact + " " + row.nam);
document.querySelector('#status').innerHTML += msg;
}
}, null);
});
}
function ByContact(){
var db = openDatabase('mydb', '1.0', 'Test DB', 2 * 1024 * 1024);
var con = document.getElementById("Con").value;
db.transaction(function (tx) {
tx.executeSql('SELECT * FROM APP WHERE (id LIKE ?);',[con], function (tx, results) {
console.log("All rows:");
var len = results.rows.length, i;
msg = "<p>Found rows: " + len + "</p>";
document.querySelector('#status').innerHTML += msg;
for (i = 0; i < len; i++){
msg = "<p><b>Name :-" + results.rows.item(i).log +"<br/>Contact :-" +results.rows.item(i).id + "</b></p>";
msg = "<p><b>Name :-" + results.rows.item(i).log +"<br/>Contact :-" +results.rows.item(i).id + "</b></p>";
//var row = result.rows.item(i);
//msg = console.log(" " + row.contact + " " + row.nam);
document.querySelector('#status').innerHTML += msg;
}
}, null);
});
}
</script>
</head>
<body style="background-image:url('f.jpg');background-repeat:no-repeat;">
<h1 align="center"><font color="white">Contact Form</font></h1>
<div style="color:white">
<table align="center">
<tr>
<td>contact no</td>
<td><input type="text" id="Tid"/></td>
</tr>
<tr>
<td>Name</td>
<td><input type="text" id="Tname"/></td>
</tr>
<tr>
<td>
<button id="add" onclick="return insert();">Insert</button>
</td>
<td>
<button onclick="return readdata();" id="read">readdata</button>
</td>
<td>
</td>
</tr>
</table>
<table>
<tr>
<td>
<button onclick="return ByContact();" id="GetByContact">GetByContact</button>
</td>
<td>
<input type="text" id="Con"/>
</td>
</tr>
</table>
<div id="status" name="status"><font color="white">Your Data`enter code here` Will Show Here</font></div>
</div>
</body>
</html>
我們不能刪除plash屏幕,但我們可以通過構建選項來替換它 –