How to find programatically that hard keyboard is popped out in android device
<p>I am an android developer. I am developing one application for a samsung device which supports hard keyboard. In this application, I have to change the orientation of my application only when hard keyboard is popped out as well as Editview is focused.</p>

<p>Can anyone please help me to find the solution of it.</p>

<p>Thanks in advance.</p>
