I am using Eclipse ADT to learn developing android application.
This simple piece of code given below is used to accept username and password from user, and display it on the next page after hitting Go button.
The code has no errors as far as i know.
However, when i run this code , i get the error
The application login(process academic.login) has stopped unexpectedly.
Please try again.
One more thing which i found out, is that when i comment out from the code from line 1 to line 2. The UI boots up perfectly.
The same problem happened when i was building a calculator, which too is incomplete as a resukt of this problem.
Others sample applications run perfectly, so i am not able to pin point the errors.