title: Having issues with ZXing.Mobile for Xamarin c# ANDROID
body: <p>i'm desperately trying to get ZXing.Mobile working within Xamarin VS2012 C# but I'm struggling to find anything in the net to answer my question! :(</p>
  
  <p>This is the code I have:</p>
  
  <pre><code>bnGetComp.Click += (sender, e) =&gt;
  {
      var scanner = new ZXing.Mobile.MobileBarcodeScanner(this);
  
      scanner.Scan().ContinueWith((t) =&gt;
      {
          if (t.IsFaulted)
          {
              aTbCompName.Text = t.Exception.ToString();
          }
          else if (t.Result != null)
          {
              aTbCompName.Text = t.Result.Text;
          }
      });
  };
  </code></pre>
  
  <p>My phone starts the scanner, then scans the barcode, then just empties the text box, I've even tried making it just fill aTbCompName.text with a string value i.e. "TEST" and it still empties it! I can't understand what its doing and I can't stick a break point on it as that doesn't seem to do buggar all in Xamarin...</p>
  
  <p>(Phone is a Samsung Galaxy Note N7000 running the official JB 4.1.2)</p>
  
  <p>Can anyone help?</p>
  
  <p><strong>Update:</strong></p>
  
  <p>I've been playing around with it and it does work if I rotate the phone afterwards, any idea why rotating after the barcode has been scanned would then finish the process off and put the result into a text box?</p>