Hi, Currently, im porting a J2ME app to the Android platform. Ive already done this process, though some bugs need to be fixed. Lately, Ive been struggling to solve an issue related with the Android's virtual keyboard:
My app launches a screen, together with a virtual QUERTY keyboard, requesting the user to insert a numeric string in a text field. It is preferable however enabling a NUMERIC keyboard instead of a QUERTY one. Thus, I would like to know if there's any way to programmatically provide a NUMERIC keyboard to the user, disregarding at the same time any existent EditText components. Note that i want to avoid the use of expressions related to EditText elements: "android:inputType=“...”" "editTextBox.setInputType(int)" The goal here is reaching the same result as for editTextBox.setInputType(TYPE_CLASS_NUMBER), avoiding the use of TextBox components. Ive tried using with no success: - Configuration class with the KEYBOARD_12KEY constant; - The InputMethodManager class; - The InputMethodService and EditorInfo class (EditorInfo.inputType) Sorry for the size of this message. Thanks in advance for all :-) Ricardo Lobo
-- 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