protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); // Set our view from the "main" layout resource SetContentView(Resource.Layout.Main); if (uhfAPI == null) { try { uhfAPI = RFIDWithUHF.Instance; uhfAPI.StopInventory(); }catch { } } initTab(); }