if you want to set your listener by code, you have to implement the interface
extends Activity implements OnClickListener
Eclipse will automatically generate the override method:
@Override
public void onClick(View v) {
}
Then you code can work:
btnAdd.setOnClickListener(this);
btnSub.setOnClickListener(this);
btnMult.setOnClickListener(this);
btnDiv.setOnClickListener((this);