【发布时间】:2013-05-11 16:01:42
【问题描述】:
我一直在尝试将 Windows Phone 8 与 PhoneGap 和插件 (https://github.com/phonegap/phonegap-plugins/tree/master/WindowsPhone/BarcodeScanner) 一起用于 BarcodeScanning。但我不知道如何开始。
我在 index.html 中集成了一个<a href="#" class="btn" onclick="window.plugins.barcodeScanner.scan">Scan Code</a>,但 VS2012 只告诉我Error:"Unable to get property 'barcodeScanner' of undefined or null reference file:x-wmapp0:www/index.html Line:31"
谁能帮我一把?
【问题讨论】:
标签: windows-phone-8 phonegap-plugins barcode-scanner