• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

QUIT CODE on developing android.. using command button..

hello guys.
how do i end an application using a command button.

HERE Is my code..

public void onClick (View src) {

switch(src.getId()) {
case R.id.buttonStart:
break;
case R.id.buttonSettings:
break;
case R.id.buttonAbout:
break;
case R.id.buttonQuit: <<<<<<<< this is the command for quit.

i hope theres one can help me,
break;(); <<<<<<<< what should be the action for quit?
 
Back
Top Bottom