Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import android.app.Activity;

import android.content.Intent;

public class Main {
    /**
     * Activity Finish Jump for Result
     */
    public static void gotoActivityForResult(Activity activity, Class<?> actClass, int requestCode) {
        Intent intent = new Intent(activity, actClass);
        activity.startActivityForResult(intent, requestCode);
    }
}