You can use either of the methods to show the soft keyboard when the Activity gets focus,
You can add folowing code to the EditText in the Layout xml,
android:focusable="true"
android:focusableInTouchMode="true"
Also, you can set it in the code as,
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE);
or,
InputMethodManager im = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
im.showSoftInput(edittext, 0);