Code example for KeyboardView.OnKeyboardActionListener

Methods: onKey

0
	 
	Runnable toSettings = new Runnable(){	//
		@Override 
		public void run() { 
			Log.d("!","yoooooooooooo"); 
			keyboardActionListener.onKey(167, null); 
		} 
	}; 
	 
	 
	 
 
 
	public DancingKeyboardView(Context context, AttributeSet attrs) {
		super(context, attrs);
		//Log.d("!","-----------------------constructor"); 
		this.ctx = context;
		this.setOnTouchListener(this);
		vibrator = (Vibrator) ctx.getSystemService(Service.VIBRATOR_SERVICE);
 
		android.view.LayoutInflater inflater = (android.view.LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);