Code example for KeyboardView

Methods: closing, invalidateKey, setKeyboard

0
	super.onStartInputView(info, restarting);
 
	this.printDebug("onStartInputView");
 
	// Apply the selected keyboard to the input view. 
	mInputView.setKeyboard(mQwertyKeyboard);
	mInputView.closing();
 
	List<Keyboard.Key> keys = mQwertyKeyboard.getKeys();
	keys.get(1).label = getLocalIpAddress() + ":" + port;
	mInputView.invalidateKey(1);
 
	// Apply the selected keyboard to the input view. 
	mInputView.setKeyboard(mQwertyKeyboard);
	mInputView.closing();
 
	// InputConnection ic = getCurrentInputConnection(); 
	// ic.commitText("Hello", 0); 
    } 
 
    /**