if (type != null) {
parameters.put("app_type", type);
}
ApplicationCreateResponse res = client.applicationCreate(getAppId(), parameters, appParameters, appVariables);
ApplicationInfo applicationInfo = res.getApplicationInfo();
System.out.println( "Application : " + applicationInfo.getId());
System.out.println( "Title : " + applicationInfo.getTitle());
System.out.println( "Created : " + applicationInfo.getCreated());
System.out.println( "Status : " + applicationInfo.getStatus());
System.out.println( "URL : " + applicationInfo.getUrls()[0]);