protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            activity_scanbarcode.Instance = this;

            // Create your application here

            SetContentView(Resource.Layout.layout_scanbarcode);

            txtVendor = FindViewById <TextView>(Resource.Id.txtSkuInfoVendor);
            txtVendorLastSoldStore  = FindViewById <TextView>(Resource.Id.txtSkuInfoVendorLastSoldStore);
            txtVendorLastSoldDate   = FindViewById <TextView>(Resource.Id.txtSkuInfoVendorLastSoldDate);
            txtVendorLastConsolDate = FindViewById <TextView>(Resource.Id.txtSkuInfoLastConsolDate);
            txtStyle = FindViewById <TextView>(Resource.Id.txtSkuInfoStyle);
            txtStyleLastSoldStore = FindViewById <TextView>(Resource.Id.txtSkuInfoStyleLastSoldStore);
            txtStyleLastSoldDate  = FindViewById <TextView>(Resource.Id.txtSkuInfoStyleLastSoldDate);
            txtStyleLastSoldPrice = FindViewById <TextView>(Resource.Id.txtSkuInfoStyleLastSoldPrice);

            Button btnBack   = FindViewById <Button>(Resource.Id.btnSkuInfoBack);
            Button btnViewMD = FindViewById <Button>(Resource.Id.btnSkuInfoViewMD);

            btnBack.Click   += BtnBack_Click;
            btnViewMD.Click += BtnViewMD_Click;

            InitResultFields();

            receiver = new myBroadcastReceiver();

            //OpenRFIDConnection2();
            CloseRFIDConnection(); // Make sure we are disconnected from RFID reader

            RegisterReceiver(receiver, new IntentFilter(Resources.GetString(Resource.String.activity_intent_filter_action)));
        }
 public DataRetrievalHandler(activity_scanbarcode activity)
 {
     this.activity = activity;
 }
 public ConnectionHandlerBarcode(activity_scanbarcode activity)
 {
     this.activity = activity;
 }