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
Questions tagged [android-input-method]
427 questions
0
votes
1 answer
Customize the "Select input method" Dialog
I think we all have seen in an Android device the "Select Input Method" dialog:
I have seen in several places different dialogs, customized for the different environments. For example, from the App Spanish for GO Keyboard:
I am fully aware that…

user3610010
- 41
- 5
0
votes
1 answer
Android InputConnection: get notified when selection changes
I want my InputMethodService to switch to capitals when the cursor is positioned after a period ('.') and spaces. The trick is to get notified when the cursor is re-positioned. The cursor may get positioned after a period when either:
user inputs…

18446744073709551615
- 16,368
- 4
- 94
- 127
0
votes
0 answers
How to build a keyboard app sending clickable images?
Is that possible to create a keyboard app sending some images on chat apps (like Whatsapp), which would be clickable by the receiver if he has the keyboard app installed? A click on an image should play a sound.
I have checked the doc on creating an…

jul
- 36,404
- 64
- 191
- 318
0
votes
3 answers
Email Validation inside EditText
I want to validate an email introduced inside an EditText and this the code that I already have :
public static boolean isValidEmail(String str) {
boolean isValid = false;
String expression =…

Amardeepvijay
- 1,626
- 3
- 17
- 47
0
votes
0 answers
Android :Injecting KeyEvents
I am working on a project which has two modules , server and client.
Server will be running on OTT devices (Android based) as an background service and will be responsible to actuate/inject keyevents and client will be sending keyevents over…

r4jiv007
- 2,974
- 3
- 29
- 36
0
votes
1 answer
Hide the on-screen keyboard on button press
I'm wondering how best to hide the on-screen (soft?) keyboard after the user pushes a button. They keyboard will likely still be visible as the user is entering text before submitting it, I'd like to shrink the window on their submission.
I have…

cprlkleg
- 363
- 1
- 5
- 21
0
votes
2 answers
Keypad hide/show in webview
I had tried this out. And it works fine with Samsung tablet.
On Page 1_4.html i have to hide keypad and on 2.html I Have to show
keypad.
Both on textbox click inside webview
NOTE: Android Activity is Same.
I'm calling this code on…

Harsh Goswami
- 502
- 3
- 12
0
votes
1 answer
Input method for android
I am trying to create simple contact list app in android,i want to add phone keypad into my app to dial a number, and then this number will be display on to list,i have a sq-lite database, i can create contact and that will save into database i can…

Shazar
- 103
- 4
- 19
0
votes
1 answer
Using OpenGL in InputMethod service
I'm developing a concept-keyboard and I need to drop animated shadows on keys.
It is possible to use OpenGL ES while subclassing InputMethodService?
If I'd use a GLSurfaceView in onCreateInputView, will it conflict with the current visible activity…
user781847
0
votes
1 answer
Android EditText Don't Call restartInput
I have an EditText that I empty after anything is typed into it (for whatever reason). I do this by calling setText("")
Everything works fine, unless the user is not on the default keyboard state (the number state for instance). Because setText…

Eliezer
- 7,209
- 12
- 56
- 103
0
votes
1 answer
Alert dialog in input method service not focusing on edittext
i'm trying to pop up the alertdialog in inputmethodservice i've a edit text in the alertdialog it's popping out properly but nothing happens on the edit text focus please help me
`AlertDialog.Builder builder = new AlertDialog.Builder(this);
…

Osama Aftab
- 7
- 1
- 8
0
votes
2 answers
EditText doesn't show input keyboard on requestfocus
I'm facing a strange problem.
When I add an edittext using the following piece of code:
edit = new EditText(context);
edit.setInputType(InputType.TYPE_CLASS_TEXT);
edit.layout(0, 0, (int)searchPane[W],…

Oleg Bondarenko
- 101
- 2
- 11
0
votes
1 answer
Android InputManagerService Starting input on non-focused client
In my logcat I found some warning message
InputManagerService
Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@40651cb0 (uid=10015 pid=3024)
ActivityManager
Process com.android.inputmethod.latin (pid…

Sha-Pai Li
- 157
- 3
- 15
0
votes
1 answer
Android: How to invoke keypad on second device on touch of first device?
I have 2 android apps running on two different devices, both are communicating to each other through Bluetooth.
In first device am opening a webview which contains some input text fields. When i click on a text field of first device, I need to…

Srikanth Kshatriy
- 444
- 1
- 4
- 10
0
votes
1 answer
How to customized Latin Keyboard example
I am using Latin keyboard example to build my custom key board. I need t change the font color and key back ground color. I did not find the place in code or in xml where colors are defined. I seems that its defined in android keyboard class as…

Sanjay Singh
- 349
- 5
- 18