I'm not in a position to enter text for an edit-text area inside a view(say V1), while returning from another view(V2). I'm while using below pointed out code for hiding virtual keyboard.

InputMethodManager imm = (InputMethodManager) mygoferActivity

also,I'm while using code below, to create in the keyboard.

imm.toggleSoftInput     (InputMethodManager.SHOW_FORCED,InputMethodManager.HIDE_IMPLICIT_ONLY);

consequently, on clicking the edit text, keyboard is poping up, but remains inactive (no secrets will work)

the keyboard works fine once the view(V1) is released the very first time

are these sights part ofseperate activities? keyboard appears instantly once u click edittext .no codes needed I believe.