String[] ret = new String[inrange.size()];
for (int i = 0; i < ret.length; i++){
Photo p = inrange.get(i);
ret[i] = p.caption + " - Album: ";
for (int j = 0; j < p.listAlbums().length; j++){
ret[i] = ret[i] + p.listAlbums()[j] + ", ";
}
ret[i] = ret[i].substring(0, ret[i].length() - 2) + " Date: " + p.cal.getTime().toString();
}