android-input-method Questions

3

Solved

In my application I need to make the user choose an input method. Once it's selected I should perform some task. How is detected that the user actually chooses an InputMethod? This is the code us...
Costplus asked 28/8, 2013 at 11:4

2

Solved

I am creating custom android keyboard and I want delete key to delete all the edit text if they are selected. i.e, when text is selected, clipboard(cut,copy,paste comes up); in that mode , if the ...

2

Solved

I made a custom keyboard for android. When I press backspace button of my keyboard I use getCurrentInputConnection().deleteSurroundingText(1, 0); to delete one letter from the input field. But ...

2

Solved

The xml is as follow. I want to implement the function like this: when I click the edittext, the soft input show. when I scroll(not scroll to OnScrollListener.SCROLL_STATE_IDLE state) the listvi...
Ingratiate asked 5/1, 2015 at 6:53

4

Solved

I'm quite new to Android native development, and I'm trying to figure out how to customize the IME action buttons. I've looked at the Google documentation, but I can find very few information about...
Pilgrim asked 3/11, 2013 at 14:15

4

Solved

I want to catch the press of any key of the softkeyboard. I don't want a EditView or TextView in my Activity, the event must be handled from a extended View inside my Activity. I just tried this: ...
Calculation asked 30/6, 2012 at 10:6

1

Solved

I'm trying to implement a Keyboard app which should be capable of sending images to the current activity (Whatsapp, Messaging app, etc). Is there a way to actually achieve this? Of course it would...

2

Solved

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 <textarea> internally. It seems that backspace is not se...
Cocoon asked 28/1, 2013 at 10:48

1

Solved

I'm trying to force the numeric keypad to show when my activity and EditText load. It seems there's a pretty straightforward answer given here and elsewhere: you say EditText yourEditText= (EditTe...
Duplicate asked 20/9, 2016 at 11:51

2

Solved

I have an EditText inside a Fragment inside a Activity. My Activity layout: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/andro...

0

https://github.com/facebook/react-native/issues/7762 I'm trying to build a custom keyboard with React-Native on Android. They are implemented with a InputMethodService and thus it is really hard t...
Genoa asked 24/6, 2016 at 2:41

2

I want to search with my android custom keyboard with the enter key, but it does not work. I've already mapped the keys, I just need to trigger the "search action" on a search text field, just like...

4

Solved

I am newbie to android and working on a demo for alert dialog box,I want to close the soft keyboard once one of the buttons from the alert is clicked.I have tried it programaticaly but keyboard rem...

1

I have custom Android keyboard: public class CustomKeyboard extends Keyboard{...} public class CustomKeyboardView extends KeyboardView{...} public class CustomKeyboardIME extends InputMethod...

1

Solved

I am developing an android IME and I want my keyboard to work only "pan and scan" and "resize" mode, not in "fullscreen" (as explained here) or at least request to prefer the "resize" mode. I know ...

1

Solved

I would like to know the behavioral difference of the constants SHOW_FORCED andSHOW_IMPLICIT. I tried both and couldn't see any difference in the first look.
Fervidor asked 21/9, 2015 at 14:8

4

Solved

I'm building a custom soft keyboard for android and would like to add a layout to include the emoji keys similar to what the default android keyboard (AOSP) is doing. I've searched around but it se...

1

I am showing the user the Input Method Picker like so and the picker pops up: InputMethodManager im = (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE); im.showInputMeth...
Contradiction asked 30/4, 2015 at 11:8

1

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). The documentation of the class KeyEvent...
Filibeg asked 12/8, 2011 at 12:17

1

Solved

I have a edittext which needs to function like the textfield in iOS. When I click on it, should become editable else it should be disabled. Let's say the user wants to edit a certain value and when...

5

Solved

I'm having trouble with the on screen keyboard. I have an activity with an EditText which shows the keyboard, and a button to go to a second activity. The second activity shows a ProgressDialog on ...
Telethermometer asked 3/5, 2012 at 10:1

1

I have created a custom soft Keyboard(IME) where we can add custom emoji. Whenever i try to add my emoticons to it. it override the last text entered. i mean it dont append the emoticons unless i...
Jahveh asked 22/12, 2014 at 13:52

1

how to add custom image as emoji in android InputMethodService. i have tried using ImageGetter imageGetter = new ImageGetter() { public Drawable getDrawable(String source) { StringTokenizer st...
Carry asked 11/8, 2014 at 9:57

4

Solved

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 int...

1

Solved

I have an EditText and a Button in my layout. After writing in the edit field and click this button to go back my fragment, I want to hide the virtual keyboard. I assume that there's a simple, but ...
Inclement asked 3/6, 2014 at 7:7

© 2022 - 2024 — McMap. All rights reserved.