Problem with "findViewById"

+1 Faruk Chida · January 8, 2015
Hy guys, I have problem with "findViewById". When i write this, the program does not recognize. I wrote the whole program and the only this  reporting the error..

 
http://imgur.com/siA0bRX

Post a Reply

Replies

Oldest  Newest  Rating
0 Faruk Chida · January 12, 2015
Thank you, I just started with Android apps, but I am satisfied with how I  doing
+1 Pere Garau Burguera · January 8, 2015
Note that you are not in a class that is an Activity class (extends Activity). That method is in the Activity class, and when you create an activity, by extending from the Activity class, you inherit the findViewById method. 
  • 1

Java / Android Development

106,968 followers
About

Very popular language used to create desktop applications, website applets, and Android apps.

Links
Moderators
Bucky Roberts Administrator