List of utility methods to do IMEI Hide
void | hideSoftInput(Activity activity) hide Soft Input activity.getWindow().setSoftInputMode( WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN); |
void | hide(Context ctx, EditText edit) hide ((InputMethodManager) ctx .getSystemService(Context.INPUT_METHOD_SERVICE)) .hideSoftInputFromWindow(edit.getWindowToken(), 0); |
void | hideKeyboard(Context context) hide Keyboard InputMethodManager inputManager = (InputMethodManager) context
.getSystemService(Context.INPUT_METHOD_SERVICE);
View view = ((Activity) context).getCurrentFocus();
if (view != null) {
inputManager.hideSoftInputFromWindow(view.getWindowToken(),
InputMethodManager.HIDE_NOT_ALWAYS);
|