1. Download our Official Android App: Forums for Android!

Help with Exit button

Discussion in 'Android Apps & Games' started by bigmos, Feb 14, 2011.

  1. bigmos

    bigmos Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Feb 14, 2011

    Feb 14, 2011
    1
    0
    5
    Below is sample code
    It force closes on exit any ideas?

    :thinking:
    public void exitbuttion ( View view )
    {
    if (view.getId() !=R.id.button3)
    return;
    finish();

    }
    }
     

    Advertisement

Share This Page

Loading...