Questions tagged [keypad]

218 questions
34
votes
3 answers

Android: How to make the keypad always visible?

In android, how do we make the device keypad always visible in the application? The top portion displays the content the application wants to render and bottom portion displays the keypad always.
Prabhu R
  • 13,836
  • 21
  • 78
  • 112
24
votes
1 answer

iPhone: Can't find keyplane that supports type 8 for keyboard iPhone-Portrait-DecimalPad; using Default?

I'm writing an iPhone app which uses a keypad that includes a decimal point. Because this is not standard in the Interface Builder i have assigned this to a text field in the viewDidLoad method like this: [self.TextField_PrintedRepeat…
Gary Willoughby
  • 50,926
  • 41
  • 133
  • 199
24
votes
12 answers

Generate 10-digit number using a phone keypad

Given a phone keypad as shown below: 1 2 3 4 5 6 7 8 9 0 How many different 10-digit numbers can be formed starting from 1? The constraint is that the movement from 1 digit to the next is similar to the movement of the Knight in a chess game. For…
srikanta
  • 2,914
  • 3
  • 21
  • 35
22
votes
10 answers

How to exclude special characters from android keypad for EditText

Hi I want to show only numbers and characters on the keypad for EditText in android, I did try to add the attribute android:inputType = text|number but it did not work. Please help me with any other better suggestion. thanks in advance.
learner
  • 1,041
  • 3
  • 15
  • 31
11
votes
3 answers

How to get numeric keypad arrows working with java applications on Linux

The arrow keys on the numeric keypad do not work with Java applications on Linux. Strangely enough, the Home, End, PgUp, PgDn, Ins, Del all work. This is especially annoying when using Intellij for programming. How do you get the arrow keys…
Peter L
  • 2,921
  • 1
  • 29
  • 31
10
votes
2 answers

Xcode Number pad with decimal error

In xcode when I turn on the decimal pad keyboard option in the .xib for my textfield, and I run the application, I receive this error: Jun 13 01:22:38 Nicholas-Gibsons-iPhone Quick Utilities[1009] : CGContextSetFillColorWithColor: invalid…
Nicholas Gibson
  • 208
  • 2
  • 13
7
votes
2 answers

Keypad decimal separator on a Wpf TextBox, how to?

I have a Wpf application with some textbox for decimal input. I would that when I press "dot" key (.) on numeric keypad of pc keyboard it send the correct decimal separator. For example, on Italian language the decimal separator is "comma" (,)...Is…
Luca Petrini
  • 1,695
  • 2
  • 28
  • 53
7
votes
3 answers

Java KeyListener stutters

I'm making a very simple pong game in java and I'm doing this using KeyListener. I want it so when the user presses the right or left keys on the keypad, the pong block goes in that direction. This is a simple enough task, but what I'm finding out…
applemavs
  • 503
  • 3
  • 9
  • 22
5
votes
1 answer

boost::asio read from /dev/input/event0

I am looking to use boost::asio to read from a 12 digit keypad. I currently can do it without boost, this way: fd = open ("/dev/input/event0", 0_NONBLOCK); read (fd, &ev, sizeof ev); Do you know how I could do this with boost::asio? I am using…
xinthose
  • 3,213
  • 3
  • 40
  • 59
4
votes
3 answers

set numeric input type to SearchView in ActionBar

I don't manage to set the numeric input type to the SearchView in my ActionBar. I have the following searchable.xml file in my res/xml folder:
4
votes
3 answers

How to make application keyboard same as safari keyboard in iPhone?

My client asked me to make numeric keypad looks as it is visible in safari. In safari the keypad is visible with three more buttons at the top that are prev next and done. I want to achieve the same. Please tell me the way to achieve this. Thanks in…
Sanchit Paurush
  • 6,114
  • 17
  • 68
  • 107
3
votes
2 answers

hiding the android keypad on pressing enter

I got a edit text and a save button , i want to close the keypad on clicking save button instead of pressing back key, keypad has to be closed after i enter save button. How to achieve this please help me and thanks in advance
learner
  • 1,041
  • 3
  • 15
  • 31
3
votes
4 answers

Detect keyboard height while UIScrollView is scrolled down and the keypad is being interactively dragged

I have a UIScrollView and a UITextView, just like in any messaging / chat app, whenUIScrollView is scrolled down, the keypad interactively being dragged too. I need to detect keyboard height while UIScrollView is scrolled, I tried…
AamirR
  • 11,672
  • 4
  • 59
  • 73
3
votes
2 answers

Detect backspace in UITextField on a blank textfield

Possible Duplicate: Detect backspace in UITextField I am trying to detect the backspace key envent on my UITextfield which is empty. I saw this but could not figure it out. Any elaborate answer or code snippet would be helpful Detect backspace in…
jacob
  • 31
  • 1
  • 5
3
votes
1 answer

How to emulate integrated numeric keypad cursor keys in linux

On many older laptops and some compact keyboards there is an integrated numeric keypad in the main keyboard area. This alternate keypad is activated with a special 'Fn' key next to the left Ctrl key. As a programmer I learned to use the cursor…
Peter L
  • 2,921
  • 1
  • 29
  • 31
1
2 3
14 15