How to toggle “Use Physical Keyboard” <p>I am trying to solve the same thing as the following post posts:</p> <p><a href="http://stackoverflow.com/questions/11878153/how-to-toggle-use-physical-keyboard/13231368#13231368">How to toggle &quot;Use Physical Keyboard&quot;.</a> and <a href="http://stackoverflow.com/questions/9244816/switch-from-physical-to-software-keyboard/13231306#13231306">Switch from physical to software keyboard</a></p> <p>Basicaly I want to toggle the native option from android to turn the physical keyboard on or off. However, I want to create this button through code.</p> <p>None of those links have one good answer. Can anyone help me?</p>