When my Activity is loaded, I wish the txtEdit EditText widget to get focus and show the keyboard.
I tried this in the onResume() but it does not automatically show.
@Override
protected void onResume() {
InputMethodManager mgr = (InputMethodManager)
getSystemService(Context.INPUT_METHOD_SERVICE);
mgr.showSoftInput(txtSearch, InputMethodManager.SHOW_IMPLICIT);