On Mon, Apr 16, 2012 at 3:29 AM, TreKing <[email protected]> wrote:

>  On Sun, Apr 15, 2012 at 11:27 AM, Narendra Singh Rathore <
> [email protected]> wrote:
>
>> NumberFormatException: Unable to parse  ' '  as number.
>>
>> What should I do in order to solve my problem?
>>
>
> Check that what you're parsing is actually a number?
> Handle the exception?
>
> But, I actually wanted this parsing to be done after my button click not
on change in EditText.
Why it is automatically called if I make change to EditText, even without
clicking the button?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to