i guess the following are the errors:
1) EditText is typecast into ListView which is illegal
2)The toast wouldn't show without .show() function in the end of makeText()
3 & 4) The onResume and onPause are public!
I am no expert, but I guess these are the errors most probably!