code: public static void navigateToActivityByClassName(Context context, String className) throws ClassNotFoundException {
          Class<?> c = null;
          if (className != null) {
              try {
                  c = Class.forName(className);
              } catch (ClassNotFoundException e) {
                  QuickUtils.log.d("ClassNotFound", e);
              }
          }
  
          navigateToActivity(context, c);
      }
docs: Navigate to an activity programmatically by providing the package +
  activity name
  
  @param context   Context where I am coming from
  @param className Full path to the desired Activity (e.g.
  "com.sample.MainActivity")