Free Support Forum -

Android PDF converter

I have two questions for converting PDF to DOC/DOCX on Android.

First, is aspose support converting PDF to DOC/DOCX on Android?
I tried your api, and I got this message “Save a document to a doc format is not supported.”
I tried find that message on your code and this is it.
image.jpg (431.0 KB)

Then, which format conversion aspose support on Android now?
I tried all formats, but nothing is working. Excel format can create a file, but that file has been decompiled.

I used aspose version 18.6 for

I am not good at English, I so sorry if you can not understand what I wrote.

Thank you very much

1 Like


Thanks for contacting support.

Aspose.PDF for Android via Java supports PDF to DOCX as well as PDF to XLS, JPEG, PNG, TIFF, BMP, XPS, TEX, SVG, EPUB and HTML file formats. In order to convert PDF to DOCX, please use following code snippet and in case you face any issue, please feel free to let us know.

Document doc = new Document();
DocSaveOptions saveOptions = new DocSaveOptions();

Thank you for your support.

I tried you code snippet, but it is not working.
This is all my code.

String path = Environment.getExternalStorageDirectory().toString() + “/Download/”;
Document doc = new Document(path + “Drawin30Days_Test.pdf”);
doc.getPages().add(); // show this message-> ‘At most 4 elements (for any collection) can be viewed in evaluation mode.’

DocSaveOptions saveOptions = new DocSaveOptions();
saveOptions.setFormat(SaveFormat.DocX); + “output.docx”); // save without saveOptions, file will be decompiled.
// and error ‘Save a document to a doc format is not supported.’ if i pass param @saveOptions

} catch(Exception ex){

My pdf files I used for testing.
Fun_Story.pdf (471.6 KB)
Teacher_Story.pdf (677.0 KB)
Drawin30Days_Test.pdf (7.5 MB)


Thanks for writing back.

The exception you are facing is due to evaluation version of the API. In order to evaluate API features without any limitation, please use a valid license file. You may consider applying a 30-days temporary license in case you do not have one. In case of any further assistance, please feel free to let us know.

1 Like

Thank you very much. :slight_smile: