Android :: Key Presses On Numeric Keypad?
Oct 21, 2010
I use the following code to listen for the key presses of 0 - 9 from the soft input keyboard on Android: The code works when i display the soft input keyboard in the following mode: http://i.imgur.com/Snasz.png: However it does **not** work when I display the soft input keyboard in the following mode: http://i.imgur.com/wf0Kt.png. Why is this?
View 6 Replies
Aug 8, 2009
I want to replace the default virtual/soft keyboard with a numeric keypad (with big keys) to simplify number entry. Anyone has any such experiences or knows any guide/tutorial about this?
View 2 Replies
View Related
Aug 17, 2010
I'm looking for an application that lets me use the Incredible as a numeric keypad for my laptop. So it would have to link to my laptop via blue tooth. I had and app with my old iPhone, but I can't find anything like it in the Android Market.
View 1 Replies
View Related
Oct 21, 2010
I use the following code to pop up the soft input keyboard in my Activity
InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); imm.getInputMethodList(); imm.toggleSoftInput(InputMethodManager.SHOW_FORCED, 0); This displays the alphabetic keyboard. But I want to display the numeric keyboard. Please note I know that using setInputType() works when used with an Edittext or a TextView but I want to be able to display the keyboard without an input area such as an Edit Text and simply listen to the key presses on the keyboard. Can anyone confirm whether this is possible and if so how can it be achieved?
View 4 Replies
View Related
Nov 9, 2010
I am making a math program that reads in numbers from an edit text box, and creates / LU factors a matrix. When a user clicks into this field, the regular keyboard shows. It would be easier for the user if it were a numeric keyboard. When I use android:input Style="number" the amount of numbers allowed to be entered into the field is 1. How do I bring up the numeric keyboard without limiting the ability to enter multiple numbers?
View 1 Replies
View Related
Jun 13, 2010
I have an Edit Text field for the user to enter their weight in lbs. How can I override the traditional keyboard and display the numeric keypad instead?
View 2 Replies
View Related
Jul 22, 2010
Is there an app or a way to get a numeric key pad (e.g. "2/abc, 3/def...")? I've seen a few other threads on here but they're a little over my head!
View 5 Replies
View Related
Jul 19, 2010
Android 2.1 I am having a text box in the the web view where only numeric input is require but when the soft keypad pops up, it shows the full qwerty keypad. As we know that few tags of HTML 5 is supported in android 2.1 and this also can be achieved by putting some java script in the web page but that is making the user experience very bad. Is there any way to show only numeric keypad or is there any way to grab the event where whenever any text box is focused so that I can set its IME and CLASS as defined in Editor Info.
View 2 Replies
View Related
Oct 31, 2009
Is there a way in android to invoke a numeric only keypad, i.e. a virtual keypad that contains only the numbers 0 to 9 and a "." sign?
View 2 Replies
View Related
Oct 31, 2009
Does android have a virtual numeric keypad view? kind of like the phone dialer including the "." and the "Done" signs? I know you can make an Edit Text numeric, but I just want a virtual keyboard that will display one "0-9" buttons.
View 2 Replies
View Related
Nov 30, 2009
Following the samples and examples, I've successfully been able to load a model on screen and rotate it with the DPAD keys and overriding the onKeyDown method of the GLSurfaceView. Trying to use a letter though, causes a small box to appear at the bottom accepting the text that is being typed. What I'm not entirely clear on, is since I don't have a listener defined in the main Activity, why those key letter key presses are being intercepted by some other inherent listener(?). I setup an OnKeyListener for the view to call my own method and that does work... but I'm wondering if there is perhaps a better way to handle it.
View 3 Replies
View Related
Nov 22, 2012
a hardware bug on my Samsung Galaxy S Plus.I'm writing this in the general forums since it doesnt seem to be a bug specific to the phone (no reports anywhere online) and the question itself is therefore not device specific.So i have a hardware home button on the phone which sometimes registers two clicks instead of one.On a 1sec press this would mean the following events:
- button down event
1sec pause
- button up event
- button down event
- button up event
So since this doesn't occur regularly and i want to somehow log presses of the home button and i dont know any way to do that in android.It doesn't need to run in the background but could be for example be opened specifically to test the button.
View 1 Replies
View Related
Jun 4, 2010
I am trying to add a listener to my service that listens for volume key presses. I would like to act on presses even if my service is not in focus. Any idea how to do this? I have looked over the API, as well as performed google searches.
View 4 Replies
View Related
Mar 27, 2010
I am relatively new to this still, and I have been developing a small app that would benefit greatly from a user being able to press 2 buttons at one time. What is the best method for achieving this? I dont think that an OnClickListener works like that, and I have seen examples for doing this with an OnTouch event. However, I do not know how to set up button presses with an OnTouch event.
View 3 Replies
View Related
Oct 8, 2009
I am writing an activity where the user is supposed to some editing and is critical. In this activity, I dont want pressing of Call key to make it go to Call Log so I handle onKeyDown call back and there if the key pressed is Call, I just return true. That solves my problem. But, if Options menu is opened and then I press Call button, I am not getting control in onKeyDown.
View 8 Replies
View Related
Nov 4, 2010
Is there an app that will automatically press 1 when answering a call from someone who called the google voice number?I would prefer not to turn off 'call screening' because if my cellphone is off or doesn't have service (e.g. at work), any calls to my google voice number will go to voicemail instead of ringing my other phones.I recently learn off the Tasker app. Can this be configured to do this?
View 2 Replies
View Related
Feb 11, 2010
I am creating an Android service which constantly runs in the background. I'd like to be able to intercept calls to the power button to:
a) prevent the screen coming on
b) handle the power button press in a different manner.This is to enable the user to have a very simple interface to my application and prevent wasting battery powering up the screen when it is not required.
I will probably need an alternative mechanism to actually bring the screen back up (such as an extended key press or similar), but this only becomes relevant if what I'm after is possible.
View 2 Replies
View Related
Aug 4, 2010
My MAIN activity is spawning a child activity that contains a ListView. While this ListView is being populated (through an AsyncTask), an indeterminate progress bar is shown.However, assuming that I am an impatient user and I press the BACK button, the progress bar is cancelled but I am left with a blank screen. I have to press BACK one more time to go back to the MAIN activity.I would like the app to go back directly to the MAIN activity by pressing BACK only once. Can somebody point me in the right direction? I am thinking I should call finish() somewhere but I don't know where to put it.
View 3 Replies
View Related
Mar 15, 2010
Does anyone how I go about detecting when a user presses on a bitmap which is inside a canvas?
View 2 Replies
View Related
Jul 20, 2010
I got a ListView item that contains a button inside. Currently the long press of a ListView item does not get processed. I thought that by setting the Button.setLongClickable(false) would allow the long press to be passed along to the ListView item and it's not happening.
View 5 Replies
View Related
Oct 6, 2010
First of all, maybe i went about this the wrong way in the first place. Situation is, i have a listview that when an item is clicked, it creates an intent and calls startActivityForResult() to another activity, to be able to edit the entries in the row. and that other activity after editing the required values, returns back to the calling activity, when the user clicks on a save button. The activity then uses the row Id to update the item.My problem now is that, if the user presses the BACK button instead, the application crashes. i have been looking around and see solutions like using Shared Preferences or onSavedInstanceState(), but i don't know where exactly i should be putting the code?
View 1 Replies
View Related
Sep 27, 2009
When I currently have my activity on the font of the screen, how can I make Android to 'destory' my activity when user clicks 'back' button? (i.e. onDestory of my Activity gets called)?
View 4 Replies
View Related
Jul 28, 2011
Can a program sit in the background and intercept keypresses, convert the keypresses from one letter to another, and send it to whatever program you are working in as though the new letter is what you typed?As qwerty is the only layout choice for hardware keyboards and I don't have root on my tablet, I want to use this as a work around.
If I were to press "s" on my hardware usb keyboard. The program would intercept the "s" before it got to whatever textbox and convert it into the dvorak key equivalent of "o". That o would then be passed to the program as a normal keypress.
if I were to press asdfg on the qwerty aoeui would be sent instead.I thought it best to ask before I waste hours trying to learn how to write the program.
List of changes I would make in a pseudocode case statement format.
Select Case Key
#Comment - Number Row Key changes
- = change to [
= = change to ]
#Comment - Top Row Key changes
q = change to '
w = change to ,
[code]...
View 2 Replies
View Related
Nov 2, 2010
When I'm looking at a web page or app the search key will from time to time light up, give haptic feedback and initiate the the search function on its own. Anyone else have this issue?
View 5 Replies
View Related
Oct 9, 2010
I purchased a Galaxy S through Bell in Canada a few days ago and it's been great, except for an issue that started just this morning. The phone keeps bringing up the context menu at random when I have not hit the key to do so. Sometimes I can use it for ten minutes without an issue, other times it will flip on/off repeatedly ever few seconds for a 15 second period or so. This is definitely not an issue of me pressing the key by mistake; I can lay the phone on the table and it will trigger the key on/off on its own.
I've tried:
- Cleaning the screen several times
- Rebooting
- Deleting pretty much every app I downloaded
- Total factory reset (from the boot menu)
After the factory reset the problem still exists, which leads me to believe it may be a hardware issue. I haven't seen any other posts regarding this issue, has anyone seen something like this before?
View 2 Replies
View Related
Sep 27, 2010
I have Edit Text. If soft keyboard is open user is able to change laquage or numeric-alfa mode. I want the Edit Text is in numeric mode by default BUT user has to have possibility to change the keyboard from numeric mode to text mode. If anybody knows tell me how to do it.
View 4 Replies
View Related
Oct 20, 2009
How can I set numeric-only soft keyboard option for a text field? When I set the input-type to "number" it brings a soft keyboard which is actually a alpha-numeric one but already switched to numeric mode. What I want is a pure numeric soft keyboard with big numbers (no alphabets at all). I've already seen this in other applications and but don't know how to do it.
View 6 Replies
View Related
Oct 26, 2009
I have a TextView (or MultiAutoCompleteTextView) field where user can enter both numbers (0 - 9) and characters (a -z, what ever).But I would like to set the numeric soft-keyboard as default. I want the numeric keyboard appearing first, but user can press the [ABC] button and enter what ever character he wants. Is this possible?
View 3 Replies
View Related
Mar 5, 2009
Suppose I want to include data right in an intent, e.g. pass a number or string in the intent data field.What should the uri look like? Something like "data:3.14159"?Or just don't include the scheme at all, "3.14159"? In fact, is there a list of standard schemes anywhere?
View 4 Replies
View Related
Jul 9, 2010
I am developing an android application where we are using WebView to display Web page being served from Web Server. Everything is working fine except with the problem that when i am using the soft keyboard and switched to numeric key entry and move from first field to next field, the keyboard layout automatically changed to alphanumeric.
Is there any way using which i can pull up virtual keyboard in numeric mode only when i need to enter numbers only?
View 2 Replies
View Related