Here goes the page which calls the app..<html>
<head>
<script src="/Users/User_admin/Downloads/appl/src/main/webapp/static/scripts/gtx/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#fill').click(function(){
$('#div2').load('/Users/User_admin/Desktop/scanner/barcodescanner/local html files/dummy.html #url');
});
});
function startMyApp()
{
document.location = 'scannerApp://';
}
</script>
</head>
<body align="center">
<h3> Product Info </h3>
<br><br><br>
<label> Product Name </label>
<input type="text"/>
<br><br>
<label> Product Category </label>
<input type="text"/>
<br><br>
<label> Serial Number </label> <div id="div2">[]</div>
<input id="launch" type="button" onclick='startMyApp()' value="Launch Application to scan serial number"> </input>
<br>
<input id="fill" type="button" value="Press button to fill the detail"></input>
</body>
</html>