Skip to main content
  1. About
  2. Stack Internal
The 2026 Annual Developer Survey is live— take the Survey today!

Question list filters

Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of 0 0 votes
0 answers 0 answers
57 views 57 views

InputConnection Support on Android 9+

I feel a little lost. I've created a subclass of TextureView which should support text input via keyboard. I've tested my code on physical device with Android 12 and Emulator and it works fine. But, ...
Genealogy's user avatar
  • 71 reputation score 71
Score of 1 1 vote
0 answers 0 answers
63 views 63 views

Missing first KeyEvent when using ComponentActivity.setContent()

I want to intercept all KeyEvents in Activity regardless of focus. Minimal working example: class MainActivity : ComponentActivity() { @SuppressLint("RestrictedApi") override fun ...
mushko's user avatar
  • 51 reputation score 51
Score of 1 1 vote
2 answers 2 answers
458 views 458 views

Using custom input method in compose 1.7.0 and above

I was using LocalTextInputService and TextInputService to show my own custom input TextField in app. But they are deprecated in compose 1.7.0 and as result CoreTextField is stopped receiving ...
MisterFlyBear's user avatar
  • 11 reputation score 11
Score of 0 0 votes
1 answer 1 answer
277 views 277 views

Android app custom input method is disabled and deselected on app launch from Android Studio

Context: I am developing an app that implements a custom input method (a custom keyboard). It builds fine, and I can enable and switch over to the keyboard manually, but every time I launch the app ...
Ethan Porcaro's user avatar
  • 79 reputation score 79
Score of 0 0 votes
1 answer 1 answer
332 views 332 views

Overriding AOSP keyboard

Error: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.inputmethod.latin.CarIME" on path: DexPathList[[zip file "/data/app/~~6CnZ_EwlgHaoEjQXjHx4lA==/com....
Aman Srivastava's user avatar
  • 965 reputation score 965
Score of 1 1 vote
0 answers 0 answers
429 views 429 views

How to create input connection from Jetpack Compose Text Field?

I have my own custom keyboard created with jetpack compose, in my custom keyboard there's a feature that shows a textfield and we can type that textfield with the keyboard too, so I have to switch ...
galihif's user avatar
  • 454 reputation score 454
Score of 0 0 votes
2 answers 2 answers
388 views 388 views

Suggestion text is not displaying in android keyboard

When I use inputType as "textUri", Suggestion text input is not displaying. <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://...
Shadow's user avatar
  • 6,929 reputation score 6929
Score of 0 0 votes
1 answer 1 answer
209 views 209 views

InputMethodService onCreateInputView not called

I have a simple InputMethodService implementation: class MyKeyboardView : InputMethodService() { override fun onCreate() { super.onCreate() Timber.d("onCreate") } ...
artem's user avatar
  • 16.9k reputation score 16865
Score of 1 1 vote
0 answers 0 answers
792 views 792 views

Android. How to implement a custom keyboard?

I'm going to develop a custom keyboard, but I don't understand the sequence of steps that I need to perform in order for everything to work properly. My requirements: the keyboard should automatically ...
testivanivan's user avatar
  • 1,554 reputation score 1554
Score of 0 0 votes
1 answer 1 answer
72 views 72 views

How do I create keypreview from InputMethodService using PopupWindow in android?

I am trying to create custom keyboard for android system with Buttons and it is working fine. But now I want to add key preview. I am new in android, plese help me if it is possible showing ...
SHIMON HANSDA's user avatar
  • 1 reputation score 1
Score of 2 2 votes
0 answers 0 answers
80 views 80 views

android custom IME getSelectedText blocks main thread

I have a soft keyboard app. I am trying to getSelectedText() of the EditText in order to handle occasions when user has selected some text. I need to do this because my app does not access the app ...
ZookKep's user avatar
  • 511 reputation score 511
Score of 2 2 votes
2 answers 2 answers
1560 views 2k views

Can a Compose LazyList be scrolled to adjust for keyboard?

I have been wrestling with IME padding/adjustment for my app. I have written a little toy app to try and focus on just the problem. The app presents a scrollable list of cards with info on them, the ...
Travis Griggs's user avatar
  • 22.4k reputation score 22448
Score of 0 0 votes
1 answer 1 answer
796 views 796 views

Is this statement "Although Android gives focus to the first text field in your layout when the activity starts" still valid?

I found the subject statement in Handle input method visibility section I would like to try to open my keyboard on activity start. However, my only EditText is not focused on activity start. My layout ...
Howard Lau's user avatar
  • 173 reputation score 173
Score of 1 1 vote
1 answer 1 answer
196 views 196 views

How to simulate typing with char-by-char delay using InputConnection?

I need to simulate typing text with char-by-char delays using soft input keyboard on a WebView. I can't use WebView#dispatchKeyEvent because it's not suitable for typing Unicode text and does not ...
hldev's user avatar
  • 1,484 reputation score 1484
Score of 0 0 votes
0 answers 0 answers
384 views 384 views

Jetpack Compose not updating View when using InputMethodService

You can find a sample project to reproduce the issue on Github Button click works, but showing/ hiding the "Text" inside Column is not working when using InputMethodService @Composable fun ...
Swpan Datta's user avatar
  • 33 reputation score 33

15 30 50 per page
1
2 3 4 5
29
Morty Proxy This is a proxified and sanitized view of the page, visit original site.