Android Utililty Methods IMEI Hide

List of utility methods to do IMEI Hide

Description

The list of methods to do IMEI Hide are organized into topic(s).

Method

voidhideSoftInput(Activity activity)
hide Soft Input
activity.getWindow().setSoftInputMode(
        WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN);
voidhide(Context ctx, EditText edit)
hide
((InputMethodManager) ctx
        .getSystemService(Context.INPUT_METHOD_SERVICE))
        .hideSoftInputFromWindow(edit.getWindowToken(), 0);
voidhideKeyboard(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);