I am facing an issue in my app ,when I click the button inside my app it gives the error
(unfortunately application has stopped),
and these are problems in Logcat :
please help me out ,what exactly is the issue ?
i solved it , thnx guys
It looks like you're trying to parse a value starting "android.widget.EditText" - which suggests you may have code like this:
int x = Integer.parseInt(editText.toString());
That's not going to get the text of the EditText
- for that, you want to call getText()
:
int x = Integer.parseInt(editText.getText().toString());
See more on this question at Stackoverflow