My UI has an edit control which when invoked (or on an orientation change) can take focus and force the softinput keyboard to be displayed. This is unwanted behaviour.
I have rectified the above with the following line in OnCreate:
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN);
However if I do explicitly bring up the softinput keyboard and change orientation then the keyboard disappears. I wish to retain the keyboard on an orientation change. I've read elsewhere that there is no way to determine that the soft keyboard is active.
Any help would be appreciated.
Many thanks,
Peter.