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
0 answers
Android custom Keyboard issues with edittext max length
I have been facing an issue for quite some time now and could not find a solution for it, hence approaching StackOverflow.
I have developed a Custom keyboard.
All the functionalities are working well except for one small glitch.
I have developed a…

Programming Pirate
- 654
- 6
- 22
0
votes
2 answers
Send image from custom keyboard
I have a custom keyboard thats takes drawing on canvas as input which is programatically converted into bitmap. Now i want to send this bitmap image to apps instead of normal text. How can i commit an image instead of text?
…

Anand Kumar
- 27
- 6
0
votes
2 answers
Android soft keyboard not pushing up views that are reselected
So, I have a EditText and I have a function that is hiding keyboard when you click outside EditText. What happens is next:
First time EditText is selected, keyboard comes up and it pushes whole View up.
I deselect EditText (click anywheere otuside…

Miljan Vulovic
- 1,586
- 3
- 20
- 48
0
votes
1 answer
Android - I want my Keyboard to work only on a list of user specified activities
I have my keyboard working on every activity, but I am not getting any good way to make it run on specific activities of different apps.
Is there a way to check the activity running and open the keyboard there if it is in my list?

Shubhansh Aasu
- 1
- 3
0
votes
0 answers
Android: How to create system preferences screen for InputMethodService
I'm building a soft keyboard, and I can't figure out how to properly build a preferences screen that shows up in the system settings.
I've built the elements screen in xml (preferences.xml), I've populated the options (just a simple ListPreference…

asetniop
- 523
- 1
- 5
- 12
0
votes
0 answers
best way to connect InputMethodService with a Service
i need some advice to connect a mine custom Softkeyboard, that's expanding the InputMethodService, with another Service; I need to call a method in my Softkeyboard from a generic Service.
The problem is that i can not extending the Binder class…

goodguyAbaddon
- 45
- 6
0
votes
1 answer
Get Notified about app supports commit content api or not?
I have created Virtual keyboard in which I have to get notified about that the particular app supports the commit content api or not ?
Since I am using custom images inside my keyboard, this checking is required.
I am using InputMethodService and…

ZaptechDev Kumar
- 164
- 1
- 14
0
votes
1 answer
Can I create the Input method picker fullscreen?
I am using below code to, open the picker to change the input method,my requirement is to create it on full screen or customize it..
InputMethodManager im = (InputMethodManager)…

Nibha Jain
- 7,742
- 11
- 47
- 71
0
votes
1 answer
Making a keyboard app on one android phone to act as a Bluetooth keyboard for another android phone
I have developed a keyboard for android but I want to add a functionality through which it can act as a remote keyboard device for another android phone, is this possible? Can someone post some information regarding the same?

Sanjana
- 35
- 8
0
votes
1 answer
How to use InputMethodService in wifi p2p service discovery?
I am new to android, please tell me if inputMethodService can work with wifi p2p service discovery? I want one phone to act as a keyboard for another phone. Please tell me if it is possible and which resources to refer in order to begin with it.…

Sanjana
- 35
- 8
0
votes
2 answers
Suppress Soft Input (hide keyboard) for Edittext view
I'm trying to make a simple calculator and to do so, I want to, and exit view that the user can move the courser within but can only input based off of the buttons I've included.
When I press on the Edittext view, however, the keyboard pops up and I…

Jeremy
- 1,337
- 3
- 12
- 26
0
votes
2 answers
How to determine the application the user is currently typing in?
So if you have ever used the Bitmoji keyboard, you know that it shares your selected Bitmoji in whatever application you are using, be it messenger or SMS without the normal sharing intent pop up, where you choose what application to share it with. …

Jacob Boyd
- 672
- 3
- 19
0
votes
1 answer
How to change keyboard layout by swipe left or right space key in custom keyboard
I made an android custom keyboard.
I want to use swiping on Space key on the keyboard for changing keyboard layout to show next language layout.
How can i do that?
I used bellow class:
public class KeyboardIMS extends InputMethodService implements…

Bijan Mohammadpoor
- 99
- 3
- 11
0
votes
1 answer
Keyboard is not getting hidden while my app is moving in background in Marshmallow
Keyboard is not getting hidden while my app is moving in background in Marshmallow and some android OS. Here's my code
InputMethodManager imm = (InputMethodManager)
getSystemService(Context.INPUT_METHOD_SERVICE);
…

Mahalakshmi Saravanan
- 295
- 1
- 3
- 16
0
votes
1 answer
Creating custom keyboard for android
Well, you might have seen few questions like asking for this.
But reading all of those questions/answers and almost all of the android inputmethod webpages in Google, I am still in trouble.
My final goal is to create a custom keyboard. But of…

luopleming
- 28
- 1
- 9