I'm very new to this. But I'm developing my first app. I've installed it on my Droid Incredible and opened it up. I set a focus on a text field ( AutoCompleteTextView ) and the keyboard came up as it should. Then I closed the app and opened it again but the keyboard was still there and the focus was on the text field still.
I tried entering this code in the beginning of onCreate to get rid of the keyboard:
((InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE)).hideSoftInputFromWindow(ACTV.getWindowToken(), 0);
Can somebody tell me what I'm doing wrong?