Code example for RadioButton

Methods: setEnabled

0
	} 
 
	private void updateLocationEditability ( boolean enable ) {
		// updates the enabling/disabling of the location & radio buttons based 
		// on the location drop down menu 
		byteButton.setEnabled( enable );
		intButton.setEnabled( enable );
		locationText.setEnabled( enable );
		if ( enable ) {
			locationText.requestFocus();
		} else { 
			valueText.requestFocus();
		} 
	} 
 
	public void updateValue ( String value ) {
		valueText.setText( value );
	} 
 
	private void sendMessage ( boolean write ) {
		Log.d( TAG, "sendMessage" );