android.text.method.DigitsInputMethod
For digits-only text entry
Summary
Public Constructors
Public Methods
Protected Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
DigitsInputMethod()
Public Methods
Returns a DigitsInputMethod that accepts the digits 0 through 9
and the plus sign.
Returns a DigitsInputMethod that accepts only the characters
that appear in the specified String. Note that not all characters
may be available on every keyboard.
Protected Methods
protected
char[]
getAcceptedChars()
You can say which characters you can accept.