Questions tagged [android-virtual-keyboard]

63 questions
21
votes
6 answers

How to disable physical keyboard in code(use virtual keyboard all the time)

You might ask why do I want that. Here is the reason: I used a barcode scanner for the login screen of my application. However connecting the barcode scanner will force my tablet to use the physical keyboard (it thinks the scanner is the keyboard)…
Han
  • 620
  • 2
  • 10
  • 22
15
votes
5 answers

Does "adb shell input text" simulate software keyboard input?

adb shell input text "sometext" OR adb shell input keyevent eventid do these simulate actual input from a virtual/ hardware keyboard respectively ? I did not find any documentation for these commands on developer.android.com/ Is there any trusted…
l'-'l
  • 428
  • 1
  • 7
  • 18
9
votes
1 answer

Google keyboard mess up my custom span

Well, I try to build a rich text editor. I have some buttons to format my editable text (bold, italic, URL, etc.). I use Google keyboard with all text correction options enabled (Settings > Language & input > Google keyboard > Text correction). I do…
Zxcv
  • 1,657
  • 2
  • 16
  • 23
8
votes
5 answers

Keyboard hide event with BACK key

I've noticed in the Android Market Application, when you click over the search button, it shows the keyboard, but when you click the back button, the search EditText becomes invisible and the keyboard is hidden. The problem is that I can't hide the…
Mohammad Ersan
  • 12,304
  • 8
  • 54
  • 77
8
votes
1 answer

Qt Android: Virtual keyboard keeps switching to uppercase when I type in a QLineEdit

When I type in a QLineEdit, the virtual keyboard starts with uppercase. Even if I set it to lowercase, it returns to uppercase as soon as I've typed a single character. That is, every time I type a character, the keyboard is reset to uppercase…
sashoalm
  • 75,001
  • 122
  • 434
  • 781
8
votes
3 answers

Android+PhoneGap: android:windowSoftInputMode doesn't seem to work

I'm developing a PhoneGap-based application and I googled much about how to make my webview adjust its height when virtual keyboard appears, or at least get height of the virtual keyboard. I found a lot of posts (including stackoverflow) which says…
Stranger
  • 774
  • 1
  • 6
  • 9
7
votes
2 answers

samsung soft keyboard loses keystrokes after focus change

My app uses a PIN-based login. I have four EditText views in a row and set a separate instance of the following TextWatcher on each of them: private class PinDigitWatcher implements TextWatcher { private final EditText digit; public…
5
votes
1 answer

How to auto scroll the screen up when virtual keyboard appears in react native (on android)

The virtual keyboard covers the text inputs and I cannot see what I'm typing. How to avoid this ? ( I tried using KeyboardAwareScrollView but it still covers the text inputs). Another issue that I got was an error regarding my styles.container…
5
votes
4 answers

EditText onClick not shows Virtual Keyboard

If i click on my EditText, the virtual keyboard simple not shows up. The cursor is shown, but no keyboard to type on. I even tried it with manually open but just no works. Here is my code: public class CreateNote extends Activity { EditText…
Adam Varhegyi
  • 11,307
  • 33
  • 124
  • 222
3
votes
0 answers

Android virtual keyboard - catch Shift+enter events

Is there a way to catch shift+enter events from android virtual keyboard? For now i am trying to use private OnKeyListener editTextMessageKeyListener= new OnKeyListener() { public boolean onKey(View v, int keyCode, KeyEvent event) { if…
Raiv
  • 5,731
  • 1
  • 33
  • 51
3
votes
2 answers

React Native - Is there a way to hide the keyboard completely?

I'm developing an app for a scanning device which does not use the virtual keyboard at all. So currently, I only show the keyboard when the user want to open it (by tapping the keyboard icon) And tab again to turn the virtual keyboard off. …
hrtlkr29
  • 383
  • 1
  • 7
  • 21
3
votes
0 answers

Prevent fullscreen virtual keyboard on Android (Adobe Air app)

I want to prevent the virtual keyboard to go fullscreen on Android (landscape mode) in my Adobe Air made application. I have read there is a way to do this using android:imeOptions="flagNoExtractUi" in the layout xml, but I have not managed to find…
2
votes
2 answers

Virtual keyboard status

Is there some way to know that virtual keyboard is made hidden by user during run time. Before tagging me duplicate question, first understand my question because it seems like duplicate and I also found lots of question with related topic. But not…
Android
  • 3,828
  • 9
  • 46
  • 79
2
votes
0 answers

Android webview keyboard scrolling issue

I am using android webview in my application, I have a small toolbar on top of my keyboard, so every focus on a field, I am trying to scroll webview using onfocus event listener (so that field wont get covered), but this is working on when user…
2
votes
1 answer

pressing software back button will close entire activity while keyboard is visible

I experienced weird bug in my app on some of my screens and I dont know what is causing this (I have multiple screens with same implementation, but its happening only in this one). When I display virtual keyboard on EditText focus and I press back…
1
2 3 4 5