Code example for KeyboardView

Methods: handleBack

0
		switch (keyCode)
		{ 
			case KeyEvent.KEYCODE_BACK:
				if (event.getRepeatCount() == 0 && mInputView != null)
				{ 
					if (mInputView.handleBack())
					{ 
						return true; 
					} 
				} 
				break; 
 
			case KeyEvent.KEYCODE_DEL:
				if (mComposing.length() > 0)
				{ 
					onKey(Keyboard.KEYCODE_DELETE, null);
					return true; 
				} 
				break; 
 
Contextual code suggestions in your IDE  Get Codota for Java