Android Development - 7 - Setting up an OnClickListener on a Button

preview_player
Показать описание
In this tutorial, we will be handling button clicks by adding an OnClickListener to our views. We will also be adding IDs to our views so that we can access them in our Java code.

Рекомендации по теме
Комментарии
Автор

I was confused a lot in this topic. but, now i am not. you made it so easy.
Thanks a lot :-)

NikhilKumar-ezsh
Автор

Hi Tim,  
Love your tutorials! helps a lot. But for this one.

I do everything you say. but it keeps giving a errors. 
Example:
- On my emulator, . it says unfortunaly .... has stopped.

- In my logcat it says in red:

  java.lang.RuntimeException: Unable to start activity

Caused by:

What am i doing wrong
Running on W7

simonwetzel
visit shbcf.ru