Questions tagged [soft-keyboard]

A "soft keyboard" is a virtual keyboard based on a software component that allows a user to enter characters.

A virtual keyboard is a software component that allows a user to enter characters.[1] A virtual keyboard can usually be operated with multiple input devices, which may include a touchscreen, an actual computer keyboard and a computer mouse.

Virtual keyboards are commonly used as an on-screen input method in devices with no physical keyboard, where there is no room for one, such as a pocket computer, personal digital assistant (PDA), tablet computer or touchscreen equipped mobile phone. It is common for the user to input text by tapping a virtual keyboard built into the operating system of the device. Virtual keyboards are also used as features of emulation software for systems that have fewer buttons than a computer keyboard would have.

http://en.wikipedia.org/wiki/Virtual_keyboard

284 questions
12
votes
6 answers

How to disable Android Soft Keyboard for a particular activity?

I have an activity with one EditText where I need to input numbers only. Now, I have defined the Input Type for my EditText to be number only and have drawn up a pretty keypad for my user to use, however I also need to make sure the soft keyboard…
Gligor
  • 2,862
  • 2
  • 33
  • 40
12
votes
2 answers

Phonegap: completely removing the black bar from the iPhone keyboard

We're using Phonegap to develop our mobile app, and we borrowed code from here to remove the black next/prev/done bar from the keyboard: https://stackoverflow.com/a/9276023/35364 What that code does is it finds the black bar, as a UIView object, and…
hasen
  • 161,647
  • 65
  • 194
  • 231
11
votes
5 answers

Way to hide softkeypad provided not effecting the features of the edittext in android

I have hidden soft keypad because I have custom keypad on the app. When the edittext is clicked, soft keypad shouldn't pop up. So, I have tried so many ways from the sources, but nothing worked except the editText.setFocusable(false); . But now the…
Enthusiast
  • 249
  • 1
  • 8
10
votes
3 answers

How to set different background of keys for Android Custom Keyboard

I am Working on Custom Keyboard Application This is code for background color of input.xml in softkeyboard :- @Override public View onCreateInputView() { Log.e("onStartInputView ","On StartInput View Called--"); …
user
  • 471
  • 2
  • 16
  • 31
10
votes
4 answers

Scrollviewer & SIP Issue (WP7.5 Mango)

I am working on an application which includes a registration form. The form contains multiple text entry boxes, and so a ScrollViewer is used to allow them all to be displayed on one page. The following is a stripped down example of the XAML code I…
Jason H
  • 306
  • 1
  • 6
9
votes
0 answers

Android: how to change navigation bar's color when softkeybord is displayed?

With my app theme I show a colored navigation bar (the one at the bottom of the screen with back button) by using this attribute @color/theme_color When the soft keyboard comes up, the color turns…
9
votes
2 answers

Keep iOS keyboard open while keyup function runs

This question is about iOS web dev. I have a function which is fired by a keyup listener in a "Search" input field. It works perfectly on a Desktops, Laptops, Samsung Galaxy phones and the Sony Xperia but not in iPhone or iPad. Whenever the function…
Tunna182
  • 343
  • 3
  • 16
8
votes
4 answers

Android - A blank space remains when the keyboard disappears

I am having an issue with the keyboard. When it disappears, the space it occupied remains blank and the rest of the layout does not adjust normal screen: with keyboard: keyboard dismissed: I have never seen this before, so I am not even sure…
The4thIceman
  • 3,709
  • 2
  • 29
  • 36
7
votes
1 answer

Android: Loading JavaScript with WebView.loadUrl but keeping soft keyboard

When a user click on a (html) Textfield in a WebView, the soft keyboard is shown. But when I load some JS with WebView.loadUrl() the soft keyboard disappears. I understand the behaviour when you load a new page. But how can I change the behaviour of…
Stahlkocher
  • 219
  • 4
  • 10
7
votes
3 answers

Detecting backspace on an empty EditText

I'm trying to detect a soft keyboard backspace in an empty EditText view. I've searched Stack Overflow and also Google and ~20 similar questions, but none have a solution for detecting a backspace in an empty EditText. All of the answers evolve…
tosi
  • 611
  • 9
  • 24
7
votes
2 answers

How can I focus on a text input without showing on-screen keyboard

I'm making a chat service, and I want to support mobile devices well. On a screenshot below, there is an input field. It allows typing text, and to avoid issues like "if the text field is unfocused typing does nothing" it automatically gets focused…
Konrad Borowski
  • 11,584
  • 3
  • 57
  • 71
7
votes
1 answer

Prevent HTML5 autofocus from displaying soft-keyboard on smaller (mobile) screens

Using the HTML5 attribute "autofocus" can be a really useful thing for web pages. However, using - for example - Firefox (37.0.1) on Android devices results in the soft keyboard being displayed on page load.
Simon Steinberger
  • 6,605
  • 5
  • 55
  • 97
6
votes
4 answers

jQuery Mobile Force hide soft keypad on focusing text input field

I have a date field on a PHP website and I'm using jQuery Mobile for mobile site. While browsing the site on a mobile browser, (eg firefox mobile on android), on clicking on the date text input, the calendar dialog comes up, but the soft keyboard…
texens
  • 3,717
  • 5
  • 23
  • 23
6
votes
3 answers

How to run those Android SDK example applications?

I have 64-bit Windows 7 Professional, Android SDK and ADT Plugin for Eclipse. In the examples directory of Android SDK there are at least three different directories for SoftKeyboard. Which one should I use? How to run that SoftKeyboard? I tried,…
6
votes
4 answers

How to prevent the soft keyboard from ever appearing in my Activity?

I'm writing an Android game that runs in fullscreen landscape mode, and has buttons placed at the bottom left and bottom right of the window. The problem is that one of these buttons is (on many phones) right next to the Menu button, so the player…
Thomas
  • 174,939
  • 50
  • 355
  • 478
1
2
3
18 19