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