code: public static void navigateToActivity(Context A, Class<?> B) {
          Intent myIntent = new Intent(A, B);
          A.startActivity(myIntent);
      }
docs: Navigate to an activity.<br>
  e.g. navigateToActivity(context, SecondActivity.class)
  
  @param A From Activity
  @param B Destination Activity