virtual-keyboard

SendKeys alternative that works on Citrix

淺唱寂寞╮ 提交于 2019-11-26 22:51:30
问题 I recently developed a virtual keyboard application for a customer. The program is working fine with almost all programs, but certain commands like {ENTER} or {DEL} are not working with Citrix. Is there are workaround or an alternative to SendKeys ? Edit 1: I tried the SendInput method (Windows Input Simulator uses SendInput) and the DEL key as well as the arrow keys are still not working. The ENTER key works however. Edit 2: Solved it. Tested with two different versions of Citrix. This

onKeyListener not working on virtual keyboard

徘徊边缘 提交于 2019-11-26 18:25:57
问题 I don't understand why this piece of code is not working. Only backspace and return key are detected. Listener doesn't fire for any other key. My device is Nexus One. I tried to override activity's OnKeyDown method and that's even worse. The only detected button was hardware back button. I am seeing around a suggestion to use TextWatcher and onTextChanged, while that might work in some cases, it's not a real work around. For example, if textbox is empty, you won't detect if user press

iOS 5 fixed positioning and virtual keyboard

戏子无情 提交于 2019-11-26 16:58:16
I have a mobile website which has a div pinned to the bottom of the screen via position:fixed. All works fine in iOS 5 (I'm testing on an iPod Touch) until I'm on a page with a form. When I tap into an input field and the virtual keyboard appears, suddenly the fixed position of my div is lost. The div now scrolls with the page as long as the keyboard is visible. Once I click Done to close the keyboard, the div reverts to its position at the bottom of the screen and obeys the position:fixed rule. Has anyone else experienced this sort of behavior? Is this expected? Thanks. I had this problem in

Buggy ListView makes me sad

北城余情 提交于 2019-11-26 12:13:49
问题 I have a ListView where I\'ve defined the layout of each item in a separate XML file. In this file I\'ve included a RatingBar and an EditText . I\'ve programmatically created 7-8 items in this ListView . When I scroll through them, it seems to be quite buggy. Here are some examples: If I set focus to the EditText in the first row and then scroll down the ListView , random EditTexts from other rows will have focus. It seems to be that the next EditText after the focused one disappears receives

iOS 5 fixed positioning and virtual keyboard

走远了吗. 提交于 2019-11-26 04:32:20
问题 I have a mobile website which has a div pinned to the bottom of the screen via position:fixed. All works fine in iOS 5 (I\'m testing on an iPod Touch) until I\'m on a page with a form. When I tap into an input field and the virtual keyboard appears, suddenly the fixed position of my div is lost. The div now scrolls with the page as long as the keyboard is visible. Once I click Done to close the keyboard, the div reverts to its position at the bottom of the screen and obeys the position:fixed