From that I\'ve read you can assign a onClick handler to a button in two ways.
onClick
Using the android:onClick XML attribute where you just use t
android:onClick
android:onClick is for API level 4 onwards, so if you're targeting < 1.6, then you can't use it.