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