code: public boolean waitForActivity(String applicationName, String activityName, int retryTime) {
          ComponentName componentName = new ComponentName(applicationName, activityName);
          return waitForActivity(componentName, retryTime);
      }
docs: Wait for activity to become active (by string)
  @param applicationName
  @param activityName
  @param retryTime