Android :: Decimal Only Keypad

Apr 27, 2010

I want to have input type for the text boxes that only takes numbers and decimal point. Input type of Number or Decimal, still brings the full keypad and the buttons are small. Input type of Phone does the trick, but not all phones have a comma or a dot to enter the decimal point. What is the best way around? You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to To unsubscribe from this group, send email to For more options, visit this group at /group/android-developers?hl=en


Android :: How I Can Convert Decimal Value To Exponential Function

Nov 23, 2009

How i can convert decimal value to exponential value

View 1 Replies View Related

Catching And Stopping One Decimal Point Error

Aug 9, 2012

Alright how does one catch and stop a one decimal point error? The user inputs a single . and that is all; you can not allow that because you will be doing math with that input.if you have this in your xml file:

android:lines="1" >

and the user types just one decimal and nothing else the program will blow up.I tried the following code but the program blows up at the second IF.At first the two IFs were just one line, they got broken up to see where the problem was As you can see if the length of the user input is only 1 we check to see if it is only one decimal only

The program blows up at the second IF, but errx is a STRING.I used the Log.i to see how far to program went. And the errx is a "."

if (stop == 0) // checking for one decimal only and nothing else
String errx =null;
errx = (edtxt01.getText().toString());
Log.i("ONE DEC:", "START OF IF xxxx: " + errx);
if (edtxt01.length() == 1 ) // *********** 1st if

View 1 Replies View Related

Android :: Degrees Minutes Second - Convert To Decimal Coordinates

Oct 26, 2010

I have a database with coordinates in Degrees Minutes Seconds format, is there any way to change them to decimal coordinates using Android built in function or is there any simpler way to show such coordinates in a mapview ?

View 1 Replies View Related

How To Convert ASCII Character To Decimal Number In Android

Jul 28, 2013

I'm working on an Android app. I have a TextView which contains an ASCII character. This character changes every 2 hours. I need to be able to read this character and convert it to decimal number, and then write it to an another TextView. So let's say the character is "[" and it's decimal value is 91. 2 hours later this character changes to "U" and it's decimal value is 85.

what kind of code should I use in my app to be able to convert ASCII character to decimal number?

View 1 Replies View Related

Android :: Allow Only Decimal Numeric Input / Use Phone Soft Keyboard?

Apr 21, 2010

I am trying to do something that I thought would be simple, yet I still haven't found the right approach. I have a Edit Text field that should only accept unsigned decimal entries. Using android:input Type="number Decimal" in my layout xml file achieves this, however the soft keyboard that is raised with this input Type is the standard keyboard but just uses the alternate view with the number row on top. This is far from ideal for a field that only allows numbers. A much better soft keyboard for numeric entry is the "phone" one. It has all of the numbers and a decimal. Perfect!! Well, except that for the life of me I cannot figure out how to use both the phone keyboard AND allow only numeric entry. I've tried everything I can think of but if I use the phone soft keyboard then the input field also allows things like "(" and any of the other symbols available on that keyboard. Is there any way to get the nice big numeric buttons of the phone keyboard along with only allowing decimal entry? You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to To unsubscribe from this group, send email to For more options, visit this group at

View 3 Replies View Related

Android :: MEID Hex Or Decimal - Hero Application Unique From IMEA Phones?

Sep 17, 2009

Can you tell me if the MEID which is the device ID on the Hero phone is going to be 15 digits is it hex or decimal? I am developing Hero applications and this is very important. Is it going to be unique from other IMEA (GSM) phones that have Android?

View 2 Replies View Related

On App Does Keypad Come Up Automatically

Jul 10, 2013

I am making an supply app for my sis and on the edit screen she will need the key pad, will the key pad come up automatically or do i have to add something?

View 2 Replies View Related

LG Eve :: Keypad - Keyboard Locked

Jan 16, 2010

I just got the LG Eve from Rogers a month ago. I was typing a message with the keyboard, and suddenly all the keys weren't working. But the touch screen looks fine. I suspect that I accidentally press something that cause me to lock the keys. Is there anyway to unlock it?

View 1 Replies View Related

General :: How To Remove (-) From Keypad

May 13, 2012

how to remove "-" word from the keypad Dialer? (Script) etc:

021-111-11111 convert to 02111111111 without "-" Letter

I used Several script and changed Well !! but statusbar FC'ed !

for Samsung Galaxy Mini

View 1 Replies View Related

Android :: Numeric Only Virtual Keypad

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

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: However it does **not** work when I display the soft input keyboard in the following mode: Why is this?

View 6 Replies View Related

Samsung Epic 4G :: Using Keypad During A Call

Oct 5, 2010

While I am on a call, my keypad is not being recognized. The tones sound when I touch a number, but the system doesn't recognize it. Is there a setting somewhere that I might be missing or is this a bug?

View 4 Replies View Related

Motorola Droid :: Keypad Backlight Bug With 2.0.1

Dec 9, 2009

I think I found a bug in 2.0.1. If you power on your Droid in the dark, the keypad backlight does not work. You have to go to Setting -> Display and manually unclick the "Auto" and reclick it back.Anyway to get it to work is to power the droid is a lighted room and everything will work fine. I think somehow the light sensor got screw up when it is dark to start with.

View 2 Replies View Related

Samsung Moment :: T9 Using A Bluetooth Keypad

Aug 18, 2010

I know I know, texting while doing other things (we all know what I'm talking about) isn't safe. However, one thing I miss about the flip phone that I ditched a month ago is that I could text completely without looking by using T9. I was really good at it. With the full QWERTY on my Samsung Moment. I have to look, and sometimes, it's not safe.I had a thought the other night. Is there a way to pair a bluetooth number pad with a phone and use it for T9? I assume the number pad would have to be used upside-down (keypads are flipped from phones), but it would work wonderfully. I'm sure some software would be needed, but I'm no application developer, so I don't know where to start. Any thoughts?

View 1 Replies View Related

Android :: Onscreen Keypad Interactions

Apr 14, 2009

I've seen with the onscreen keypad, the application does not seem to be notified that the OSK has been brought in front of it.I would like to be able to change the layout of my screen so that relevant information is visible when the keypad is brought to the fore.I have information onscreen that changes as the user types in a number.Also, the implementation of the OSK in landscape mode completely breaks the functionality of our application since the OSK takes over the complete screen. It would be much better for us if a 12-key numeric keyboard were available on one side of the screen and leave the other side available to the application. Can there be layout qualifiers such as we have with layout-land- keyshidden...such as layout-land-osk?

View 2 Replies View Related

Android :: Replace Keypad Enter With Done

Jun 22, 2010

I'd like to replace the "enter" button that appears on the keypad automatically, with a done button that would just close the keypad when the user hits it. I've seen this done on a couple of apps (e.g the Nexus One twitter app) and would like to implement something similar. does anyone know how?Also is it possible to get the text that appears by default to auto erase when the user click to edit the edittext box?

View 2 Replies View Related

HTC Hero :: No Keypad So Can't Activate MyBackup

Nov 8, 2009

I've installed MyBackUp Pro, but when I try and run it it asks me to enter the google order number, which I have. However, selecting the text field doesn't open the keypad, and I can't find a way of manually opening it, so I can't enter the number. Any suggestions? The alternative of looking up the details is no use as my name or postcode wasn't on the order.

View 6 Replies View Related

HTC Hero :: Disabling Keypad Feedback

Jan 4, 2010

The HTC Hero is my first experience with a virtual keyboard. It takes some getting used to but I have adapted rather quickly - to the point that I actually like it better. The self-correcting feature is great. It catches nearly all my mistakes and fixes them on the fly.

However - I don't know if I've gotten better or my phone has gotten slower - but it seems to lag behind my typing now. I discovered that if I turn off the vibrate feedback feature that it speeds up considerably. I would think that anybody who gets really fast at typing on their Hero is eventually going to have to turn that off.

View 1 Replies View Related

HTC EVO 4G :: Speed Dial #1 From Phone Keypad

Aug 30, 2010

How do you reprogram #1 on keypad for speed dial (voicemail) I transfered data from another phone and it changed the number from my phone number to the old phone number. Searched and and cant find where its stored or anyway to change it. I now dial the person with my old number everytime i hit #1

View 5 Replies View Related

HTC Incredible :: Way To Get Microphone On Swype Keypad

Jun 26, 2010

Are there other keypad to download-. i need the Mic on the face for AK Notes.

View 4 Replies View Related

HTC Desire :: Switching Between Keypad And Keyboard

Jun 17, 2010

I just bought an HTC desire. I love the different keyboards, but would love to set them as defaults for different tasks. The QWERTY keyboard is too difficult to use while on the move, so I like to use the keypad (mobile set up) when sending text messages. The rest of the time I find the keyboard easier to use but it is a pain to switch between the 2. Is there anyway of setting different defaults, or an easier way of switching between the 2?

View 2 Replies View Related

HTC Hero : How To Get Smilies On Phone's Keypad?

Sep 23, 2009

I've just received a text message with a little android smilies!! I cant see these on my keypad though, like on a SonyE for instance... Any ideas where they can be accessed?

View 4 Replies View Related

HTC Wildfire :: Phone Keypad Getting In Way / What Am I Doing Wrong?

Nov 2, 2010

Today my wife upgraded to the HTC Wildfire - so far it's great, but I seem to have come across a small problem, and wondered if anyone had any advice please?

When typing status update, or email on facebook app, or being online through hotmail, gmail, or any other site where you are typing a lot, or where you have username on one line, and password on the other, the keypad seems to be massive, and gets in the way so you can't see what you're typing?

View 1 Replies View Related

Android : Need Phone Keypad Keyboard App

Aug 22, 2010

i find the phone key pad better than QWERTY/compact QWERTY bec i do most of my texting one hand.. I'm using HTC_IME right now but its still slow to me.. it highlights the words while typing.. i tried betterkeyboard, touchpal, swiftkey, and a lot of keyboard apps but very few has the phone keypad keyboard on it.. and those who have it (betterkeyboard) responses very slow..

View 7 Replies View Related

HTC Wildfire :: Way To Lock Keypad When On A Call

Nov 4, 2010

I have a HTC Wildfire and anytime I'm on a call, the keypad is active which means I'm pushing numbers or unknowingly scrolling through parts of my phone when my face/ear comes into contact with the phone.

It's extremely annoying and I'm wondering whether this is the case will all Wildfires or is there something I need to change in the settings?

Apologies if this has already been answered elsewhere in the forum. I've done a quick search and haven't managed to come across any solutions so far.

View 4 Replies View Related

General :: Change Phone Keypad

Feb 22, 2014

I'm new to smartphones. I hate the keypad on the calling app. Running 4.3 on xperia z1 compact. Just can't hit the right numbers. I notice that the numeric keypad in a number of apps is a lot more usable, Because there's physical separation between the numbers. I've tried searching around the subject, but just get info on text keypads, not calling keypads. Can I configure my calling app keypad?

View 3 Replies View Related

Android :: Numeric Keypad / Link To Laptop

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

Sony Ericsson Xperia X10 :: Way To Get Numeric Keypad?

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

Android :: Showing Writing Keypad By Default

Jul 29, 2010

I have created an edit text. Currently the writing keypad is made visible when i click on it. Is there a possibility where I can make the writing keypad visible from starting itself i.e. no need to click on the edit text view.

View 5 Replies View Related

Android :: Need Keyboard With A Cellphone Keypad Style?

Jul 25, 2010

I just upgraded to Android 2.1, and I HATE the keyboard defaulting to XT9 style. Is there a replacement keyboard program that will let XT9 be disabled, AND that will let me use the cell phone keypad style for input? I do most of my texting with 1 hand and find the cell phone keypad style easier to use.

View 1 Replies View Related

Android :: Cant See Text Box While Typing On Soft Keypad

Oct 28, 2009

I have a relative layout with Edit text fileds and some buttons at bottom. when i try to write anything on edittext field in the middle of screen, it just being hidden by the keypad and buttons layout comes on top. how can i have soft keypad working fine for my edit texts?

View 2 Replies View Related

Motorola :: Droid A855 Upgrade To 955 Keypad?

Nov 10, 2010

I was wondering if anyone knows if the ribbon for the Droid2's are the same as the Droid1's. I have been using a friends R2D2, and I absolutely love the spaced out keypad. Does anyone know if they work in the Droid1's or should I just buy one and find out for everyone?

View 9 Replies View Related

Samsung Captivate :: Personal Preference - Which Keypad To Be Used?

Jul 27, 2010

Just curious to know which keypad everyone prefers. (Android, Samsung, or Swype?) I used the Samsung keypad for a while and just switched to the Android keypad today to try it out. I think it looks great. For anyone that doesn't know what I'm talking about:
Menu > Settings > Locale and Text > Set default keyboard

View 49 Replies View Related

Android :: Logic Different Between Using Keypad - With Finger Tapping?

Jun 19, 2009

I have a ListView. When I click a row Item (which are just TextView instances) I want them to remain hilighted (default orange color). The default behavior is that they flash orange.

Strangely, if I use the key pad (arrow up/down) to move between items, it has the exact behavior I want. Why is the logic different between using the keypad or with finger tapping?

View 7 Replies View Related

Android :: How To Make Keypad Always Visible In Application

Oct 2, 2009

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.

View 1 Replies View Related

HTC Hero :: None Of Keypad Buttons Light Up / Setting For It?

Oct 18, 2009

I am not too sure why this is happened. But none of my keypad buttons light up.

Anyone know about any settings I might have fiddled with?

View 3 Replies View Related

Android :: Virtual Keypad In Landscape Mode?

Dec 22, 2009

I am working currently on an application which is in landscape mode by default. I want the virtual kepad to be poped up whenever I click on the edit box. Please, help me for the same.

View 3 Replies View Related

HTC Incredible : Turn Keypad Sound - Beep Off?

Nov 16, 2010

I am curious if there is a way to either turn down or completely turn off the beep beep beep when you press numbers for a phone number. That drives me nuts!

I tried looking in settings, but I am either overlooking it or it is worded differently than my old phone. Any suggestions?

View 8 Replies View Related

Samsung Behold 2 :: Way To Keep Keypad On Home Screen?

Jan 15, 2010

Is there a way to keep the key pad on the home screen? I love this phone, comming from the BB i have a lot to do.

View 9 Replies View Related

General :: OG Droid - How To Turn Off Keypad Tones

Jan 3, 2012

I just got a OG droid or droid 1 and I cant figure out how to turn off my keypad tones. it gets annoyin when im texting and hearing the ting ting ting noise. I've already went to the sound menu and turned off keypad tones or watever and still didnt make a difference.

View 3 Replies View Related

General :: How To Change Default Samsung Keypad

Jul 9, 2013

How To Change Default Samsung Keypad. I Want To Change It to ICS Style. But how to do.


View 3 Replies View Related

Samsung Epic 4G :: Not Render Phone Keypad In Landscape

Sep 11, 2010

Is it just me, or does the Epic not render the phone keypad in landscape? i.e. the keypad disappears when you rotate the phone screen from portrait to landscape. I'm using Launcher Pro. Don't know if that has anything to do with it.

View 2 Replies View Related

HTC Desire :: Keypad Icon In Bottom Left Numbers?

Sep 30, 2010

From the home screen, if I press 'phone' and then the keypad icon in the bottom left some of the numbers have a chevron on either side of them. I thought that possibly it indicated that the person had more than one number but that is not the case.

View 2 Replies View Related

Sprint HTC Hero :: Google Voice And Dialer Keypad

Feb 8, 2010

Calling someone using the dialer keypad will never route over Google Voice. Calling someone from the "People" application works fine. Of course I have GV enabled for all calls. Is this the way it is or is something messed up?

View 3 Replies View Related