title: How to retrive and use data from "window.plugins.barcodeScanner.scan" PhoneGap Zxing plugin?
body: <p>I am using PhoneGap to develop an Android App. I am using ZXing plugin in order to scan a QR-Code.</p>
  
  <p>In index.html, I put a button in order to scan a QR-Code:</p>
  
  <pre><code>&lt;a href="#" onclick="scanCode();"&gt;
  </code></pre>
  
  <p>Here is the code of scanCode in the java-script file:</p>
  
  <pre><code>var scanCode = function() {
  window.plugins.barcodeScanner.scan(
      function(result) {
      alert("Scanned Code: " + result.text 
              + ". Format: " + result.format
              + ". Cancelled: " + result.cancelled);    
  }, function(error) {
      alert("Scan failed: " + error);
  });
  </code></pre>
  
  <p>}</p>
  
  <p>I want to retrieve datas from "result", especially "result.text" in order to use them in another html file.</p>
  
  <p>How can I please do it?</p>
  
  <p>Thanks.  </p>