android numpad on button click
<p>How to show the android numpad on a button click,without using xml.
i know the code for showing simple keyboard that is:</p>

<pre><code>InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);

imm.toggleSoftInput (InputMethodManager.SHOW_FORCED, 0);
KeyboardMouse.this.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE); 
</code></pre>

<p>But i want to show only numeric keypad instead.
Please help me.</p>
