We use
InputMethodManager imPharamcy = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
imPharamcy .toggleSoftInput(0, InputMethodManager.SHOW_IMPLICIT);
to get the keyboard forcefully. But the keyboard is not numbers only keyboard. How do i get numbers only keyboard using inputMethod Manager.
In xml i have already given
android:inputType="phone"
android:imeOptions="actionNext"
the editText takes numbers only Strangely in the emulator a number only keypad comes up but on a phone numbers and special charaters keypad comes