Any news of QRCode Reader sample?
I have the same issue and not working in device.
Swalif.
-weak_framework QuartzCore -weak_framework CoreVideo -weak_framework CoreMedia -l NKQR -l iconv
<html>
<head>
<meta name = "viewport" content = "initial-scale = 1.0, user-scalable = no" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<script type="text/javascript" src="NKit.js"></script>
</head>
<body>
<script>
NKRegisterClass("NKQRObject");
var key = ""; // Enter Your Licence Key here
var page = "main.html"; // enter current page name
function result(barcode) //Receives Barcode Result Data from Objective C
{
document.getElementById('barcoderesult').innerHTML = "Barcode: " + barcode;
// use barcode variable after read action
}
function openreader()
{
CallNKitAction("scanButtonTapped?className=NKQRObject&page="+page+"&key="+key);
}
</script>
<button onClick=openreader()>Open Barcode Reader</button>
<div id=barcoderesult></div>
</body>
</html>
Users browsing this forum: Bing [Bot] and 1 guest