Thursday, September 1, 2011

[android-developers] Re: Verify EditText input when inputType = number?

Sorry for not being explicit here - I already did that, and I could
not enter a non-number. But I'm sure I didn't test exhaustively. It
would be nice if this were stated explicitly one way or the other in
the docs.


On Sep 1, 9:11 am, TreKing <treking...@gmail.com> wrote:
> On Thu, Sep 1, 2011 at 8:05 AM, Conrad <cgtyo...@gmail.com> wrote:
> > So are you saying that it is possible to enter a non-number into such a
> > field, and I do need to test for rigorousness?
>
> I'm saying set the attribute ("inputType=number") then run your app and test
> it. If you can enter a non-number, you have to add checks - if you can't,
> you're good to go.
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

--
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

No comments:

Post a Comment