title: phonegap 3.1 BarcodeScanner uncaught module cordova/plugin/BarcodeScanner not found
body: <p>I'm new on Phonegap and JS... and I tried it with a barcode scanner... I installed the phonegap and everything with this tutorial  <a href="http://teusink.blogspot.com/2013/07/guide-phonegap-3-android-windows.html" rel="nofollow">http://teusink.blogspot.com/2013/07/guide-phonegap-3-android-windows.html</a></p>
  
  <p>I installed the BarcodeScanner from CMD   and exported the project as android platform...
  Add it to Eclipse ... followed all the tutorials how to do it, added all permissions and stuff..</p>
  
  <p>when i try the app on ma samsung tab2 ... the app comes up but when i click the "scan" link i get the error uncaught module cordova/plugin/BarcodeScanner not found  in the logcat.</p>
  
  <p>this is the call  <code>&lt;a href="#" class="btn large" onclick="scaning();"&gt;Scan&lt;/a</code></p>
  
  <p>i have this in the index html  head </p>
  
  <pre><code>&lt;script src="phonegap.js"&gt;&lt;/script&gt; 
  &lt;script src="barcodescanner.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>this is the scaning function 
  function scaning(){</p>
  
  <pre><code>var scanner = cordova.require("cordova/plugin/BarcodeScanner");
  
  scanner.scan(
  function (result) {
  alert("We got a barcode\n" +
  "Result: " + result.text + "\n" +
  "Format: " + result.format + "\n" +
  "Cancelled: " + result.cancelled);
  }, 
  function (error) {
  alert("Scanning failed: " + error);
  }
  );};
  </code></pre>
  
  <p>and this is in the config.xml </p>
  
  <pre><code>&lt;feature name="BarcodeScanner"&gt;
          &lt;param name="android-package" value="com.phonegap.plugins.barcodescanner.BarcodeScanner" /&gt;
      &lt;/feature&gt;
  </code></pre>
  
  <p>I think I checked the whole Google  for the answer ... but till now nothing worked... and still for the phonegap 3.0+ version there is almost none documentation for the barcode scanner ... at least for a beginner ...</p>
  
  <p>if you can help me guys .... couse I'm totally lost :S</p>