How in InputMethodService generate KeyEvent equivalent "Next"
<p>How in InputMethodService generate KeyEvent equivalent "Next" (jump to the next view) without change current view?</p>

<p>I try code</p>

<pre><code>    getCurrentInputConnection().sendKeyEvent( new KeyEvent( KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_TAB));
    getCurrentInputConnection().sendKeyEvent( new KeyEvent( KeyEvent.ACTION_UP,   KeyEvent.KEYCODE_TAB));
</code></pre>

<p>This work in emulator, but not work on real devices in real app (android 2.3.4, com.android.email).</p>

<p><strong>Edit:</strong></p>

<p>This code in android >= 4.X generate jump to the next view.</p>

<p>In android 2.3.X this code add tab-code to the end of current view but not jump to next view.</p>
