My goal is to open the keyboard as soon as the application is downloaded. Using this code,
InputMethodManager inputMgr = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE); inputMgr.toggleSoftInput(0, 0);`
on the button, I can get the keyboard to load when the button is pressed. However, when placed in the override section onCreate (), nothing happens.
source share