close Activity - Android android.app

Android examples for android.app:Activity Navigation

Description

close Activity

Demo Code

import android.app.Activity;

public class Main{

    public static void closeActivity(Activity target) {

        target.finish();/*from  w  ww .j  a v a  2  s  .c  o  m*/
    }

}

Related Tutorials