keyboard

How to develop a soft keyboard for Android?

I would like to play around with some ideas and develop a soft keyboard for Android to replace the default one. Is there any general information about soft keyboard development for Android out there? Any best practices or guidelines? Can I do with my keyboard application pretty much anything I could do with a normal Android application...

Keyboard navigation using jQuery

Hello! I'm trying to add some keyboard support for a website I'm working on and I found these plugins for jQuery: shortKeys and jquery.hotkeys (can't post link because i'm a new user). The thing is I want to make it so that when a user presses "j", for example, to go to a different page, "about.html", for example, but, I don't know how t...

Yet another iphone memory leak cry for help. Looking for advice on next steps.

Hi, I hate having memory leaks and usually pride myself on, blah, blah, blah. Help! The leaks I have aren't crazy big (a few K at max), but I want to remove them for sure. There are two categories of leaks and I've got some screen shots of each from Instrument's Leaks tool. The first is just some odd Java/Web thing that happens withi...

Android Form EditText Show Keyboard onResume

When my Activity is loaded, I wish the txtEdit EditText widget to get focus and show the keyboard. I tried this in the onResume() but it does not automatically show. @Override protected void onResume() { InputMethodManager mgr = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); mgr.showSoftInput(txtS...

Java Keyboard/Mouse activity (even outside of my app)

Hi guys, I need to detect when the mouse or keyboard activity is present. My application runs in the background (tray) and I need to detect this activity even when my app isn't in focus. I don't need to know what keys were pressed, but simply WHEN they are pressed. Can I do this with just Java? I have read some solutions using JNI a...

Howto get the Keyboard UIView on iPhone, iOS 3.2 or newer

Hello, I'm using a trick to overlay the keyboard with my own. Basically I add some buttons as Subviews to the Keyboard. This is how I find the UIView of the keyboard: UIWindow* tempWindow = [[[UIApplication sharedApplication] windows] objectAtIndex:1]; UIView* keyboard; for(UIView* potentialKeyboard in tempWindow.subviews) // if th...

Android IME: how to show a pop-up dialog?

I'm playing around with some keyboard development and try to show a pop-up dialog when a certain key is pressed if (primaryCode == -301) { AlertDialog mDialog = new AlertDialog.Builder(CONTEXT) .setTitle("My dialog") .setMessage("Lets do it.") .setPositiveButton("ok", null).create(); ...

Tapping a UIScrollView to hide the keyboard?

I'm working on an iPhone app which involves typing stuff into a UITextView, which adds content to a UITableView. The problem is, I need to be able to close the keyboard when the user's done with it, and the only area that is really visible other than the keyboard and UITextView at this point is the UITableView. I'm having trouble impleme...

Tapping a UIScrollView to hide the keyboard?

(I posted this before anonymously, but then couldn't use the same computer again, so I'm posting it from my account now. Sorry to the guy who answered before.) I'm working on an iPhone app which involves typing stuff into a UITextView, which adds content to a UITableView. The problem is, I need to be able to close the keyboard when the ...

swing: is there a way to make a button/checkbox clickable only if SHIFT or CTRL is pressed?

Is there a way to detect whether Ctrl or Shift has been pressed during a click event on a button or checkbox? I want to make a checkbox that you have to hold down a modifier key in order to change the state (with appropriate visual labeling) so that it's more difficult to accidentally click it. ...

add something above of iPhone / iPad keyboard ?

i was wondering how can i add a view on ios Keyboard ? like this : ...

WPF: Keyboard Navigation with imbedded listboxes

I have struggled for over a day trying to get keyboard navigation to work correctly in a WPF app with embedded list boxes. Here a description of the layout: - listbox 1 (repeats unlimited times) - texboxes 1-4 - listbox 2 (repeats up to 4 times) - textbox 5 - listbox 2 - button 1 - listbox 1 - buttons 2-9 ...

Android IME: showing a custom pop-up dialog (like Swype keyboard) which can enter text into the TextView

I'm wondering how I can create a custom pop-up like the one in the screenshot below (borrowed from the Swype keyboard), where I can have a couple of buttons, which each commit a string to the currently "connected" TextView (via a InputConnection). Please note: this is an InputMethodService and not an ordinary Activity. I already tried ...

UITextField not responding to onscreen keyboard presses?

Hey guys, I've got a really weird problem whereby I when I click on a UITextField the onscreen keyboard pops up, and I can delete characters in the text field - but I cannot type into it! Background info: I'm placing the UITextField into a UITableViewCell, which in turn is being got from a table that is being placed into a UIAlertVie...

How to push view upwards when displaying keyboard?

Hi, Is it possible to push the entire view upwards when the keyboard is activated? Like, a TextField is located at the bottom of the view. When user taps on TextField, a keyboard will cover the TextField. So Im asking, is there a code that will push the view upwards so that the keyboard will display underneath the TextField. I have co...

Custom keyboard and type letters

Hi , every one i create custom keyboard and i have problem iam using my keyboard as textview.inputView = myKeyboardView; my keyboard buttons have this code : NSMutableString *text = [textPad.text mutableCopy]; NSRange selectedRange = textPad.selectedRange; [text replaceCharactersInRange:selectedRange withString:@"A"]; tex...

Writing a keyboard device driver

I was wondering if anybody out there has had experience writing keyboard device drivers. I know the basics of how keyboard interrupts work however don't really know the details of everything. Is it difficult? Too difficult for one person? I ask this because recently I purchased a Apple keyboard and the windows driver doesn't seem to rec...

Can I turn the Capslock light on/off on individual keyboards?

I have a single pc with multiple keyboards, all the capslock lights turn on/off synchronously. (so if one user/keyboard turns on the capslock, everybody types in caps) I was thinking about saving each keyboard's capslock status in flags but I just realized that the lights won't correspond for each user/keyboard's capslock status. I ju...

What keyboard do you use for coding?

Possible Duplicate: Keyboard for programmers Hi there! Sorry this is not really a programming question.. I'm in the market for a wireless keyboard & a wireless mouse. Can you tell me which keyboard & mouse do you use for coding and what do you like about it? I currently use a HP wired keyboard and a VX Nano mouse and would...

Why isn't my keyboard appearing?

I have an application that allows the user to edit multiple text fields and views. Rather than mess around raising each view to the top when the keyboard is active, I decided to instead make one textView for editing and hide/show it when input is needed, then transfer the data when it is done. To move focus to the new textView, I call it...