Android :: Mobile Device That An HTML Input Field Numeric Only?

Aug 31, 2010

I've been doing some usability testing on a website I'm developing, using an Android phone and an iPod touch. In both cases, when entering a numeric field (time, distance in metres, etc) I have to take a manual step to change the keyboard layout to show digits. As the app will only accept numeric values in the text box, I'd like to save the user the inconvenience and tell the device "switch to the number pad for this input".

Android :: Mobile device that an HTML input field numeric only?


Android :: Default Keyboard Type For Html Text Input Field

Feb 22, 2010

Is there a way to set the default keyboard type for a html text input field for a webkit view on Android? Can this be done via CSS?

View 2 Replies View Related

Android :: Input Field With Custom Input Method

Jan 6, 2010

I would like to show a custom input field (specifically, one containing only 9-0 and two extra buttons containing decimal separator (, or .) and a delete button). I could create a custom IME, but (as far as I know) that would have to be set by the user as the system-wide input method. Is there a way to implement an input method and bind it to a specific input field?

View 1 Replies View Related

Android :: Convert EditText Component From A Text Field To Numeric In Droid?

Oct 1, 2009

If I have an EditText component on my screen that I have specified inputType="decimal" for (i.e. a numeric/decimal field), what is the best way to convert it to an decimal value in the application code?

Google recommends avoiding floats, and avoiding creating objects unnecessarily (and I assume any auto-unboxing code is bad too), so I take these as my constraints. I realize a small application probably doesn't need to worry too much, but I haven't been able to find a 'best-practice' solution to this.

The most common solution appears to be this:

double value = Double.parseDouble(txtInput);

View 2 Replies View Related

Android :: Numeric Input By Default

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

Android :: Input Fields / Converting Text To Numeric

Nov 4, 2010

I have an app I am working on that does some math on a few variables and outputs the answer. Well that's the plan anyway. Being a total n00b at Android & Java I am not sure of a couple of things.1) I have created text fields in the layout file for user to enter values. Instead of text fields should I use numerical value fields, if such a thing exists? 2) How can you convert from a text field to a numerical value and back again?

View 3 Replies View Related

Android :: Display A Numeric Keypad On Activity Without An Input Area

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

Android :: Open Numeric Keypad / Input Multiple Numbers?

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

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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

View 3 Replies View Related

Android :: Speech Recognition - Limit To Match Numeric Input

Nov 1, 2009

I want to use the SR api to handle commands in my application. I know at any given point in my application what the valid commands would be at that point so would like to limit the results that the SR is matched against. For example, if the only valid commands were "Yes" or "No" I would like to be able to restrict the SR to only try and match against those two words. Otherwise on full vocabulary I get "Snow" and other false words. Limiting the vocabulary should make matching 90%+ accurate on limited words. Is this possible? Also, can I limit the SR to only match numeric for number input only? The internal dialer seems to be able to do this sort of this, so can I?

View 7 Replies View Related

Android :: Virtual Keyboard On Custom Input Field

Aug 18, 2009

Is is possible to get the virtual keyboard key events on a custom input field ? I tried using keyboardView, but somehow that doesn't work. Is it mandatory to use the android input method classes to get the events?

View 2 Replies View Related

Android :: TimePicker Selecting The Button And Input Field

Apr 5, 2010

I'm trying to modified the way TimePicker works as asked in my question here http://stackoverflow.com/questions/2580216/android-timepicker-minutes-to-15

To be able to do that I need to know if the + and - button was clicked and to disable the input field.

So can I target the elements in a TimePicker? (i.e the + and - button and the input field)?

Also is there anyway to determine if the + or the - button was clicked?

View 1 Replies View Related

Android :: Avoid User Input In A Field Of Form In A WebView?

Nov 1, 2010

When I load the touch Facebook login page in the webview, I want that the email field to be set to a value and it can't be modified and to accomplish that I have inserted a JavaScript code in the webview disabling that element. All works fine until I want to click the login button because the page refreshes instead of submit the login info. I've noticed that if I don't disable the item, the login button works fine but I don't know why occurs that.

What can be the problem? I've thought another way to make it works: Whenever the user try to modify the email field ignore whatever he do, but I think this is a less professional way to fix that.

View 2 Replies View Related

Sony Ericsson Xperia X10 :: Voice Input In Any Text Field

May 26, 2010

I have been looking for something similar to the feature which is available on the Nexus one, which is the ability to enter text via speach on any text input.

I know its available for the google search on the X10, but does anybody know if its available for every text box?

View 3 Replies View Related

Android :: How Do I Replace HTML Escapes In An Input Stream Before Parsing It To XML?

Sep 17, 2010

I have an input stream which is being converted to XML, and read. When I get down to some text elements in the XML, they are truncated. I believe the parser is dropping everything after escaped HTML such as & Here is the code getting the input stream and then getting the text element. Code...

View 2 Replies View Related

Android :: Phone View Equivalent To A HTML Input Element?

Nov 24, 2009

Does it exist an Android view equivalent to a "<select>" HTML input element ? In my application, user should fill a form. I know that ListView can display a list of elements but I think it's not relevant for a form.

View 2 Replies View Related

Android :: Field Test Mode On A Mobile Phone

Oct 23, 2009

After searching the groups and posts, i could not find a suitable answer to my question - On a Android mobile phone, where can i find the Field Test Mode/Application so that i can see cellular network information? On other mobile phone platforms, you can enter a number key sequence and a Field test mode is launched providing cellular network information e.g cell ID, signal strength. Does anyone have any suggestions on how i can acquire/activate Field Test Mode please?

View 2 Replies View Related

Android :: Develop HTML + CSS For Droid Mobile?

Nov 16, 2010

How to develop HTML + CSS for android mobile.

View 4 Replies View Related

General :: Sun Mobile App Restarts Itself When Click On Password Field

May 31, 2014

I am trying to login to the The Sun Mobile app however when i click on the password field the app restarts itself over and over.

I have cleared the data and cache and have done a factory reset but still doesnt work. Is there another way to login to the app?

I am using Android version 2.3.6
Kernel version 2.6.35.7-perf+
Baseband version a4-03.32.01
And my phone is the Acer liquid metal

View 2 Replies View Related

Android :: JAVA Library To Parse HTML Suitable For Mobile?

Aug 28, 2010

I'm making an android client for a web site. my app have to go through the website, parse HTML, post some forms, send HTTP requests etc. What library covering all this stuff you recommend me to use ?

View 2 Replies View Related

Android :: Dolphin Browser - Mobile Vs Regular/full HTML Site Option

Oct 21, 2010

With the Dolphin browser, is there a way to "force" a website to load as a FULL/normal/regular html website rather than as an m.site.com mobile website?

For example, when I try to navigate to eBay - New & used electronics, cars, apparel, collectibles, sporting goods & more at low prices I am ALWAYS redirected to m.ebay.com

Is this a setting within the Dolphin Browser or is this controlled by the website itself??

I looked through the settings and could not find a preference to chose between mobile and "full html" site options

View 2 Replies View Related

Android :: How To Get Mobile Number Only In Mobile Device

Feb 5, 2010

this android aplication get mobile number to get the device only

View 2 Replies View Related

Android :: Detecting Navigation Input Method On Device

Apr 1, 2009

Does anyone know how to detect what primary non-touch navigation method (trackball, dpad, wheel, etc) a device is using within the code?

I know that an app can structure the /res/ folders to detect it like this: /res/ drawable-nonav drawable-dpad drawable-trackball drawable-wheel

But what if I want my app to behave differently depending on the navigation input method- is there a way to do this in the code?

View 3 Replies View Related

Android :: Need Device To Test Custom Input Method Application

Aug 27, 2010

1. I am in the process of creating an Input Method for Android devices. I using Eclipse(3.4) IDE and have Android (1.5 and 2.2) SDK. 2. Currently i am doing testing on the Emulator. But i wish to test it on actual Android device. 3. Can you please tell me which ideal device should i buy to test my application 4. Is there any lead device assigned by Android for a given SDK. 5. I intend to sign and publish my application so can you please tell me is there any Certification criteria which i have to follow.

View 2 Replies View Related

HTC Incredible :: Use Phone As Bluetooth Input Device For Ps3?

Jun 28, 2010

The PS3 can pair with bluetooth keyboards and mice. As can PCs obviously. But for PCs you can use other programs on the client machine to make mouse/kb control work. You can't do this on the PS3 so you need an actual bluetooth connection.

However, there are no apps I know that can do this, I wondered if maybe it somehow required root, and if there are any root-using apps that can turn the phone into a bluetooth input mouse/kb device to be paired with a ps3.

View 3 Replies View Related

Android :: Floating Menu Buttons In HTML - Regular HTML - CSS Solution

Nov 1, 2010

I have heavily edited the original text and instead of the how question I am posting the code that produces the effect I wanted, namely a floating menu on top that stays fixed as I scroll whatever is in the middle with a lower menu at the bottom of the screen. Ain't life sweet - Might even work on the iPhone as well.

Why I posted was like I said in the original question. I'm fiddling with creating the initial lay out for a "mobile" application for the disabled, have tonnes of data, dictionary files, icons for the purpose etc. I want to have the app running as HTML to make it as portable as possible, i.e. make it runnable on Android, Iphone, Maemo... whatever.

I got some hints by looking at the example at http://www.quackit.com/css/codes/css_floating_menu.cfm as well as a lot of trial and error and finally minor edits by a paid freelancer.

Below you can find some crude (to put it mildly) HTML/CSS (cut the CSS part and load a style instead in the HTML's you create for cleaner code) but for now, let's look at the prototype concept.

CODE:...........

You can see the working example on your Android device or in your Android emulator http://globability.org/webapp/aaa.html

Need to get the sound working though - but nearly there :)Links to the different web based version and thoughts behind application can be found on:

The project this application springs from can be found on [url] - Look under prototypes (it is the top one under the heading protypes).

View 1 Replies View Related

Android : Use Html Styling But Can't Change A Font Size In Html Without Using Css

May 13, 2010

I;ve been trying to create a custom button in android using this tutorial - http://www.gersic.com/blog.php?id=56

It works well but it doesn't say how to change the font size or weighting. Any ideas?

There was another question on here and the only answer was to use html styling but you can't change a font size in html without using css (or the deprecated font tag). There must be a better way of setting the pixel size of the font used on buttons?

View 1 Replies View Related

Android :: Use Mobile Device CPU Or Server CPU

Mar 20, 2010

I am planning to design and write an application which displays all possible restaurants/malls etc around the mobile device.For this, do I send the GPS info to the server and let server do the processing and return the list of all possible restaurants/malls or let the mobile device itself process, find and list that. Please advise. I don't want the mobile device to get any slower.

View 4 Replies View Related

Android :: High End Device For T-Mobile

Jul 12, 2010

As most of you guys know, T-Mobile USA uses AWS 3g and that makes most GSM androids useless on the tmo network.

Im currently using a mytouch 3g slide, and although its nice, i feel like im missing out on the higher end devices on other networks, such as the DROID on Vz.

Im new to this android game, and comming from a blackberry, i absolutely need a hardware keyboard.

Im wondering if you guys know of any other devices with a hardware keyboard that will work on Tmobile?

My req are
1) qwerty
2) tmo 3g
3) higher res screen
4) faster processor

View 8 Replies View Related

Android :: Approach To Program A Mobile Website For Any Device

May 6, 2010

My wish is to know how I can program a mobile website, that fit to all mobile phones.

Are there any special approaches to recognize a device and render the code according to it?

Which tools and coding languages are required?

My first thought was to hold the website in XML, which would be parsed depending on the device.

You have to consider old phones, even devices with only wap support.

For example: The mobile website has to recognize Nokia N75 and render/send the code that looks optimal for this device. Same thing with an iPhone or a Motorola Razr.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved