Example usage for android.app Activity finish

List of usage examples for android.app Activity finish

Introduction

In this page you can find the example usage for android.app Activity finish.

Prototype

public void finish() 

Source Link

Document

Call this when your activity is done and should be closed.

Usage

From source file:Main.java

public static void onCloseActivity(Activity a) {
    a.finish();
}

From source file:Main.java

public static void backward(Activity activity) {
    activity.finish();
}

From source file:Main.java

public static void finishActivity(Activity activity) {
    activity.finish();
}

From source file:Main.java

private static void activityFinish(Activity activity) {
    activity.finish();
}

From source file:Main.java

public static void finishActivity(Activity activity) {
    activity.finish();
    activity.overridePendingTransition(android.R.anim.fade_in, android.R.anim.fade_out);
}

From source file:Main.java

public static void closeActivity(Activity target) {

    target.finish();
}

From source file:Main.java

public static void finish(Activity curActivity) {
    curActivity.finish();
}

From source file:Main.java

public static void Exit(Activity context) {

    context.finish();
    System.gc();

}

From source file:Main.java

public static void finish(Activity activity) {
    activity.finish();
}

From source file:Main.java

public static void refreshActivity(Activity activity) {
    activity.finish();
    startActivity(activity, activity.getClass());
}