Code example for KeyboardView

Methods: closing, setKeyboard

0
    } 
 
    @Override public void onStartInputView(EditorInfo attribute, boolean restarting) {
        super.onStartInputView(attribute, restarting);
        // Apply the selected keyboard to the input view. 
        mInputView.setKeyboard(mCurKeyboard);
        mInputView.closing();
    } 
 
	@Override 
	public void onKey(int arg0, int[] arg1) {
 
 
 
		if (arg0 == 45) {
    		Log.i("key", "45");
    		mCode.append((char) arg0);
        }else if (arg0 == 46) {
    		Log.i("key", "46");
        	mCode.append((char) arg0);
        } else if (arg0 == -99) {