Allow only decimal numeric input and use phone soft keyboard?

by Nmix » Fri, 23 Apr 2010 12:30:35 GMT

Sponsored Links
 Try adding the following line to the xml to filter for integer input:


I've had some success using android:inputType to select the soft
keyboard and android:digits to filter which keys are accepted.


Allow only decimal numeric input and use phone soft keyboard?

by jamesc » Fri, 23 Apr 2010 13:44:00 GMT

 >From reading this: 

it looks like you need TYPE_CLASS_NUMBER.


Sponsored Links

Other Threads

1. AdMob issue

I am developing an application in which I have used AdMob.
When I run the application on emulator the it runs proper i.e. I get
ads near about 8 times out of 10 requests. But when I run it through
handset, the response get decremented i.e. I get near about 1 to 2 ads
out of 10 to 20 requests.
  Can anyone tell me why this is happening??


2. Project dependency: reusing code and resources from another Android project


* In short:
Is it possible to reuse classes and resources from A.apk in B.apk?

* Explanation and my problem:
I have project A with some classes and some resources (used for
classes configuration). I'd like to reuse its classes (and resources
necessary for them) in another project B (and possibly in more
projects). Currently I have 2 projects in Eclipse and they both builds
fine, but when project B is started in emulator it fails with error:
"Could not find method project.a.ClassA.methodA, referenced form
method project.b.ClassB.methodB"

I've found those 3 discussions:

3. Invoicing program for Android

4. InstrumentationTestCase vs ActivityInstrumentationTestCase2

5. jar is unsigned (signatures missing or not parceable)

6. current mydroid cannot play video or camera

7. Orange experts are answering your questions Live at LeWeb