Java tutorial
//package com.java2s; import android.app.Activity; import android.content.Intent; public class Main { public static void goAc(Activity activity1, Class activity2) { Intent OpenCalc = new Intent(activity1, activity2); activity1.startActivity(OpenCalc); } }