In past articles our Android sample application GUIs have consisted of a simple button or two and the corresponding click-handler code. What if some of those buttons are only supposed to be available under specific device conditions? Examples include providing a button only when a connection to a remote Bluetooth peripheral has been established or some other specific device condition.
Full story »