Basically, I want an EditText in Android where I can have an integer value entered into. Perhaps there is a more appropriate object than EditText for this?
For now, use an
android:inputType="number" to force it to be numeric. Convert the resulting string into an integer (e.g.,
In the future, you might consider a
NumberPicker widget, once that becomes available (slated to be in Honeycomb).