Hi This below code is use full for show keyboard programatically when Activity start or Dialog show.
Just copy this below code as per your requirement in Activity or with in Dialog
InputMethodManager imputMM=(InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
imputMM.toggleSoftInput(InputMethodManager.SHOW_FORCED,0);
Just copy this below code as per your requirement in Activity or with in Dialog
InputMethodManager imputMM=(InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
imputMM.toggleSoftInput(InputMethodManager.SHOW_FORCED,0);
No comments:
Post a Comment