Java tutorial
//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); } }