I am using iText library to create a pdf file from given string. But how can i save this document file to external storage ?
Document document = new Document();
fileName = "Hello" + ".pdf";
PdfWriter.getInstance(document, new FileOutputStream(fileName));
document.open();
document.add(new Paragraph("Hellooo"));
document.close();
What should i do after it to save this document to external storage ?