Questions tagged [android-input-method]

The InputMethod interface represents an input method which can generate key events and text, such as email addresses, other language characters, etc., while handling various input events, and send the text back to the application that requests text input

427 questions
16
votes
3 answers

How to determine the current IME in Android?

I have an application where I would like to warn the user if they are not using the default Android softkeyboard. (i.e. they are using Swype or some thing else). How can I check which input method they currently have selected?
jkhouw1
  • 7,320
  • 3
  • 32
  • 24
15
votes
9 answers

Get input text with customview without edittext android

I have created customview. Whenever user double taps on the view it should display the keyboard and user can draw new Text. Holder is a customview which extends view. But it's showing the keyboard. How to get the text? public Holder(Context…
Asthme
  • 5,163
  • 6
  • 47
  • 65
15
votes
4 answers

How can I use a custom font in the input area of an input method?

We're developing an app where we need to use a custom font (a Typeface loaded from the app's assets) in an EditText. The Android input method docs state the following: When input focus moves into or out of an editable text field, Android shows or…
Ted Hopp
  • 232,168
  • 48
  • 399
  • 521
15
votes
2 answers

Android: Backspace in WebView/BaseInputConnection

I have a problem with soft keyboard backspace in Android (4.2). I have a custom editor in a WebView (CodeMirror), which uses an empty