public void SetLed(LedAction action) { if (jtCradle.ControlLed(action)) { Toast.MakeText(this, action.ToString(), ToastLength.Short).Show(); } else { Toast.MakeText(this, "Failed to control the LED. Check if the device is inserted in the Cradle", ToastLength.Long).Show(); } }