code: public static void toggleKeyPad(Context context) {
  		InputMethodManager imm = (InputMethodManager) context
  				.getSystemService(Context.INPUT_METHOD_SERVICE);
  		if (imm != null) {
  			imm.toggleSoftInput(InputMethodManager.SHOW_FORCED, 0);
  		}
  	}
docs: Toggles keypad
  
  @param context