Anybody have any ideas?

On Thu, Oct 21, 2010 at 10:16 AM, draf...@gmail.com <draf...@gmail.com>wrote:

> I use the following code to pop up the soft input keyboard in my
> Activity
>
> ---
>
>    InputMethodManager imm = (InputMethodManager)
> getSystemService(Context.INPUT_METHOD_SERVICE);
>    imm.getInputMethodList();
>
>    imm.toggleSoftInput(InputMethodManager.SHOW_FORCED, 0);
>
> ---
>
> This displays the alphabetic keyboard.
>
> But I want to display the numeric keyboard.
>
> Please note I know that using setInputType() works when used with an
> Edittext or a TextView but I want to be able to display the keyboard
> without an input area such as an EditText and simply listen to the key
> presses on the keyboard.
>
> Can anyone confirm whether this is possible and if so how can it be
> achieved?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to