Exemplo n.º 1
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);

            SetContentView(Resource.Layout.FirstActivity);
            scannerUtil = new ScannerEmdk(this);

            tvScannedBarcodes = FindViewById <TextView>(Resource.Id.tvBarcodes);
            tvScannerStatus   = FindViewById <TextView>(Resource.Id.tvScannerStatus);


            tvScannerStatus.Text = "Scanner Status: Scanner Initialized";
        }
Exemplo n.º 2
0
 protected override void OnDestroy()
 {
     base.OnDestroy();
     scannerUtil?.Destroy();
     scannerUtil = null;
 }