keyboard

Force software keyboard on iOS 10

我怕爱的太早我们不能终老 提交于 2020-01-03 08:27:30
问题 Is there any way anyone knows of to force the onscreen software keyboard in iOS when a Bluetooth HID device (like a barcode scanner) is active? There are a few ancient questions on SO, but most work by manually adjusting the frame of the keyboard view, and that method no longer appears to work as of iOS 8. Strangely there doesn't seem to be any information on how to do this post iOS 8. Is it just impossible? See: Show iPhone soft keyboard even though a hardware keyboard is connected Force on

Send special character with SendKeys

你。 提交于 2020-01-03 07:26:42
问题 I am using textboxes to send text via SendKeys, but when I insert special characters in the textbox, my application crashes. For example, when I put in a '+' in the textbox, I get this error: SendKeys string '+' is not valid. I need a solution to send special characters with SendKeys, this is a part of my code: SendKeys.Send(dropDownEffectsLeft1.SelectedItem.ToString() + dropDownEffectsRight1.SelectedItem.ToString() + txt1.Text); It's all about the textbox called txt1 I think I need something

ios7 keyboard, when it opens shrinks web-app

穿精又带淫゛_ 提交于 2020-01-03 07:22:25
问题 I have a web-app for iPad. The app uses the iPad keyboard, before when opening the keyboard it would cover the app, now with ios7 the app gets shrinked to the remaining space after the keyboard appears. Is it possible to change this in JavaScript, and keep the old behavior? EDIT: I just noticed that if I open the app on safari it works just like before, the problem appears when I add the app to the main screen. EDIT: I almost solved this, but then I got some other problems. First I added this

How can i find the height of soft-keyboard in a LibGDX application

谁说我不能喝 提交于 2020-01-03 07:22:07
问题 I'm developing an Android game with LibGDX . And I need to find the height of the soft-keyboard the user is using, as I want to display some objects right above the keyboard. I have read this thread: how can i get soft keyboard height on android? But the comment suggests that it doesn't work, and it also seems to be for using with Android SDK . I'm not sure. Does anyone know a way that will definitely work? 回答1: If your problem is that your textfields are obscured then I suggest using void

Change the color of the keyboard in windows phone 7?

孤人 提交于 2020-01-03 06:04:22
问题 When people select the light theme the keyboard changes to a light color. Unfortunately this doesn't contrast very well with the branding in the app I'm making. I'm not sure if we can do this but is it possible to change the background and foreground of the keyboard or is this dependent on what theme the user has selected? I originally thought it wasn't possible but with Mango we can change the system tray and app bar. Seems like the keyboard could be modified also. 回答1: It's not possible as

Change the color of the keyboard in windows phone 7?

可紊 提交于 2020-01-03 06:01:07
问题 When people select the light theme the keyboard changes to a light color. Unfortunately this doesn't contrast very well with the branding in the app I'm making. I'm not sure if we can do this but is it possible to change the background and foreground of the keyboard or is this dependent on what theme the user has selected? I originally thought it wasn't possible but with Mango we can change the system tray and app bar. Seems like the keyboard could be modified also. 回答1: It's not possible as

javafx programmatically set arguments for virtual keyboard

人走茶凉 提交于 2020-01-03 05:36:08
问题 I have a desktop application that will be used on computers with no keyboard, input will be on a touch screen. I can get the virtual keyboard to show up on textfields fine when running from eclipse. I used these arguments -Dcom.sun.javafx.touch=true -Dcom.sun.javafx.isEmbedded=true -Dcom.sun.javafx.virtualKeyboard=none The following link shows me where to add the arguments. how to add command line parameters when running java code in Eclipse? When I make a runnable jar file the keyboard does

How do I programmatically disable/enable the physical keyboard in Android?

社会主义新天地 提交于 2020-01-03 05:12:13
问题 I have an application that I'm developing that uses a USB HID device connected to a Motorola Xoom for some input. However, the majority of the time I still want to use the on-screen keyboard. Is there a way to disable/enable the use of hardware keyboard in Android 3.0+? I'd like the application to behave like it would, had there not been a keyboard connected. 回答1: well one solution you can think of is .. @Override public boolean onKeyDown(int keyCode, KeyEvent event) { return true; }

How to hide keyboard without closing the dialog box using Appium for IOS?

随声附和 提交于 2020-01-03 04:56:19
问题 I have a dialog box that appears and while closing keyboard with hideKeyboard(); all the form is closed and i get back to the home page so that i can't continue the scenario for filling other data. Here the screen : 回答1: Just use UIScrollView in your dialog box, and set scroll view class TPKAScrollViewController. Download class 回答2: You can fill up the fields first using driver.sendkey() then tap on keyboard next button to switch the driver to the next field untill the last field. in last

How can I Listen for Keyboard input without Text Field Java

混江龙づ霸主 提交于 2020-01-03 03:31:09
问题 I am working on a Java application and interfacing with an RFID reader that acts as a keyboard input device. The application will be used for employee time tracking, so the employee should not see the code that his/her RFID tag contains. Currently, the application opens a jFrame that asks the employee to scan their tag. This is where I would like to listen for the keyboard input. All of the RFID tags are 10 digits, so I would like to use some kind of regex to detect when a card is scanned if