Code is not working see details

i have an sample code and i m trying to cope it and i m in learning process of android and type the code but my code have some problem that i just couldn't fine any one pls can help me it will be so nice of u..
magor problem is in this line

1 person has
this question