softkeyboard not working when barcode scanner is connected to tablet
<pre><code>InputMethodManager imm = (InputMethodManager)getApplicationContext().getSystemService(Context.INPUT_METHOD_SERVICE); 
imm.toggleSoftInput(InputMethodManager.SHOW_FORCED, 0);
</code></pre>

<p>Using this code also soft keyboard is not appearing when barcode scanner is connected please help with this</p>
