<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *; img-src 'self' data: content:;">
<meta name="format-detection" content="telephone=no">
<meta name="msapplication-tap-highlight" content="no">
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
<link rel="stylesheet" type="text/css" href="css/index.css">
<title>Hello World</title>
<script type="text/javascript" src="cordova.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<script type="text/javascript" charset="utf-8">
function onBodyLoad() {
document.addEventListener("deviceready", onDeviceReady, false);
}
function onDeviceReady() {
var br = "<br />";
//Get the appInfo DOM element
var element = document.getElementById('devInfo');
//Replace it with specific information about the device
//running the application
element.innerHTML = 'Cordova Version: ' + device.cordova + br +
'Operating System: ' + device.platform + br +
'OS Version: ' + device.version + br +
'Device Model: ' + device.model + br +
'Universally Unique Identifier: ' + device.uuid;
}
</script>
</head>
<body onload="onBodyLoad()">
<p>This is an Apache Cordova application that makes calls to the
Cordova Device API.</p>
<p id="devInfo">Waiting for Cordova initialization to complete.</p>
</body>
</html>