How to Launch the SoftKey When Activity Started in android
<p>i want to launch the  SoftKeyBoard when activity launch. i tried this code it is working
 for the potrait mode but it is not working in landscape mode can any one help me to do that
 thanks in advance.</p>

<pre><code>      InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
    imm.toggleSoftInput(0, InputMethodManager.SHOW_IMPLICIT);
</code></pre>
