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...
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...
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...
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...
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...
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...
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();
...
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...
(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 ...
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.
...
i was wondering how can i add a view on ios Keyboard ? like this :
...
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
...
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 ...
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...
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...
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...
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...
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...
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...
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...