Displaying Soft Keypad Via Code
<p>How could I keep the keypad visible, or display the keypad for the next EditText views via.  I would like to keep the keypad visible if the input is invalid.  Or, in the case of valid input, display the keypad after requesting focus on the next EditText.</p>

<p>My validation:</p>

<pre><code>private boolean processTextField( EditText str ) {

        Log.v( "Exfo. Processing: ", str.getText().toString() );

        boolean notZero = ( (str.getText().toString().length() &gt; 0) &amp;&amp;  (this.notZero(str.getText().toString())) ); // checks id value is zero

        if ( notZero ) {
            if ( this.frameSizeLength() == 0 ) {
                txtFrameSize.requestFocus();
                // TO DO:  display keyboard
            }
            else if ( this.thruPutLength() == 0 ) {
                txtThruPut.requestFocus();
                // TO DO:  display keyboard
            }
            else
                    this.calcResults(Integer.valueOf(txtFrameSize.getText().toString()), Float.valueOf(txtThruPut.getText().toString()) );
            }
            else {
                this.showMSG("Enter a value greater than zero.");
                // TO DO:  keep focus on current EditTExt, display keypad
            }
    }
}
</code></pre>

<p><strong>EDIT</strong>:  There are only 2 EditText views: framesize and thruput.</p>

<p>Right now, no matter what, the keypad is hidden after hitting the return/done button.  I am targeting Android 2.2, but I focusing on touch only devices for now.
Thanks,
MD</p>
