forked from wildabeast/BarcodeDemo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (31 loc) · 1.5 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
<link rel="stylesheet" type="text/css" href="css/index.css" />
<title>Barcode Scanner Demo</title>
<script type="text/javascript" src="cordova.js"></script>
<script type="text/javascript" src="barcodescanner.js"></script>
<script type="text/javascript" src="childbrowser.js"></script>
<script type="text/javascript" src="js/index.js"></script>
</head>
<body id="stage" class="theme">
<div class="app">
<h1>Barcode Scanner</h1>
<div id="deviceready" class="blink">
<p class="event listening">Connecting to Device</p>
<p class="event received">Device is Ready</p>
</div>
<a href="#" class="btn" onclick="scanCode();">Scan Code</a>
<a href="#" class="btn enc" onclick="encodeText();">Encode Text</a>
<a href="#" class="btn enc" onclick="encodeEmail();">Encode Email</a>
<a href="#" class="btn enc" onclick="encodePhone();">Encode Phone</a>
<a href="#" class="btn enc" onclick="encodeSMS();">Encode SMS</a>
</div>
<script type="text/javascript">
app.initialize();
</script>
</body>
</html>