Java tutorial
//package com.java2s; import android.app.Activity; import android.content.Intent; import android.os.Bundle; public class Main { public static final void invokeWithArgs(Activity activity, Class<?> clazz, Bundle bundle) { Intent intent = new Intent(activity, clazz); intent.putExtra("bundle", bundle); activity.startActivity(intent); } }