I am trying to add an image but always have this error. It is possible to add an image or I should find by other way?
The code is:
public void exportar(View view) {
WordprocessingMLPackage wordMLPackage = null;
try {
File notebookDir = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + File.separator + NOTEBOOKS_DIR);
if (!notebookDir.exists()) {
notebookDir.mkdir();
}
wordMLPackage = WordprocessingMLPackage.createPackage(PageSizePaper.A4, false);
wordMLPackage.getMainDocumentPart().addStyledParagraphOfText("Title", "Hello Word!");
File imageSmall = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + File.separator + "uruguay.gif");
File imageBig = new ...