String[] uris = new String[compositeBitmap.getRows()];
for (int j = 0, n = compositeBitmap.getRows(); j < n; j++) {
uris[j] = "http://127.0.0.1/-" + j;
document.addRecord(new ImageRecord(uris[j], compositeBitmap.getBitmapAt(j, 0)));
}
document.addRecord(new CompositeImageRecord("http://127.0.0.1/", uris, 1));
}
if (name.length() > 31) {
name = name.substring(0, 31).trim();
}