android-input-method
Android: Deleting characters in EditText with TextWatcher still shows characters in suggestions
In my activity I have an EditText to capture a file name. I am using a TextWatcher to prevent users from entering certain characters that I don\'t want them to use in their filename. Essentially I onl[详细]
2023-04-08 21:19 分类:问答Is it possible to have both Physical Keyboard and Soft Keyboard active at the same time?
My Application needs to have two sources of input active at the same time: A bar-code scanner and the soft keyboard. When I pair a blue-tooth scanner, it is being treated as a physical keyboard. So, w[详细]
2023-04-05 16:05 分类:问答Better way to get all the text in an EditText from an InputConnection?
I\'ve written an IME (InputMethodService) and I need to get all the text from the EditText it is editing. I know one way:[详细]
2023-04-05 01:51 分类:问答Making an EditText object accept only numeric values
I\'d like to create programatically an EditText within this attribute: android:inputType=\"number|numberSigned|numberDecimal\"[详细]
2023-04-02 20:42 分类:问答Send a key combination (meta key and keycode) via the Android API
I can\'t figure out how to send a combination of a meta key (e.g. CTRL) and a keycode (e.g. for RETURN) with Android (I am using API level 11 = version 3.0).[详细]
2023-03-27 11:33 分类:问答Convert unicode value to KeyEvent constant in OnKeyboardActionListener.onKey
I am new to Android development and currently programming an Input Method Editor (IME) for the Google Android operating system (API level 11 == version 3.0).[详细]
2023-03-27 09:45 分类:问答Softkeyboard pops up automatically first time the webview loads
Apparently there are no editboxes or anything which needs a keyboard on the webpage either. 开发者_Go百科and this dos\'nt work either even on user interaction event.[详细]
2023-03-26 07:37 分类:问答android input method problems
A few questions about android: Is it possible to replace the keys in default keyboards ? For example, is it possible to replace the dot in the numeric keyboard with a comma ?[详细]
2023-03-22 22:09 分类:问答How does Browser (and some other apps) intercept the Back key before my IME?
I\'ve written an IME that displays some popup windows and closes them when the user clicks Back. It works 99% of the time but some apps (like Browser) are able to intercept the KeyEvent.KEYCODE_BACK b[详细]
2023-03-20 07:54 分类:问答Get whole text before the cursor
I need get whole text string before the cursor in my InputMethod clas开发者_如何学Cs. getTextBeforeCursor() gets only \"n\" characters, but I don\'t know text\'s length.See this documentation. It seem[详细]
2023-03-16 06:33 分类:问答