// with the filename as content
attachDoc.replaceItemValue(NCCONST.ITM_CONTENT, AttachmentName);
attachDoc.replaceItemValue(NCCONST.ITM_MIMETYPE,
NCCONST.DEFAULT_MIMETYPE);
}
eo.recycle();
// Set the state of this document to be fetched
attachDoc.replaceItemValue(NCCONST.ITM_ACTION, ActionType.ADD.toString());
attachDoc.replaceItemValue(NCCONST.NCITM_STATE, NCCONST.STATEFETCHED);
attachDoc.save();