android强制弹出键盘


	public void showKeyboard(final EditText et){
		Timer timer = new Timer();
		timer.schedule(new TimerTask() {
			public void run() {
				et.setFocusable(true);
				et.setFocusableInTouchMode(true);
				et.requestFocus();
				InputMethodManager inputManager = (InputMethodManager) et.getContext()
						.getSystemService(Context.INPUT_METHOD_SERVICE);
				inputManager.showSoftInput(et, 0);
			}
		}, 300);
	}


你可能感兴趣的:(android)