I need to display the virtual keyboard when the application starts, but so far I\'ve failed.
I use this code in method \"OnCreate\"to display the virtual keyboard
I faced with the same issue, this method below helped me
public static void showKeyboard(Context context) {
InputMethodManager imm = (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE);
if (imm != null) {
imm.toggleSoftInput(InputMethodManager.SHOW_FORCED, InputMethodManager.HIDE_IMPLICIT_ONLY);
}
}