private void OnClickCreateReader() { if (IsConnected()) { _rfidManager.CreateReader(); _connectionHandler.SendEmptyMessage(BleMsgConsts.MSG_CREATING_READER); } else { Toast.MakeText(this, GetString(Resource.String.bluetooth_not_connected), ToastLength.Short).Show(); } }
private void OnClickCreateReader() { // if (Common.DEVICE_AUTHENTICATION && RfidManager.getInstance(this).getState() != RfidManager.STATE_READY) { // Toast.makeText(this, getString(R.string.dev_not_certified), Toast.LENGTH_SHORT).show(); // } else if (IsConnected()) { _rfidMgr.CreateReader(); ConnectionHandler.SendEmptyMessage(BleMsgConsts.MSG_CREATING_READER); } else { Toast.MakeText(this, GetString(Resource.String.bluetooth_not_connected), ToastLength.Short).Show(); } }