Android soft keyboard showing problem
<p>I'm trying to control soft keyboard using this:</p>

<pre><code>((InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE))
            .hideSoftInputFromInputMethod(filterText.getWindowToken(), 0);
((InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE))
            .showSoftInput(filterText, InputMethodManager.SHOW_IMPLICIT);
</code></pre>

<p>But nothing happens on the device when i call this code. What can cause such behavior?</p>
