![]() So apparently the code I was using wasn't compatible with android, hence the error I was getting. ![]() Would someone know what's the issue with my code, or of another way that is sure to work for creating and writing a pdf file ? Xodo is a document creation software designed for businesses to automate text editing, annotation, digital signature, PDF sharing, and more. Upon running my app and executing the code above, I get the following error: : Failed resolution of: Ljava/awt/Color Creating output stream to write in the newly created fileĭocument document = new Document(PageSize.A4, 50, 50, 50, 50) ĭocument.add(new Paragraph("Hello world")) MuPDF uses a very small footprint and has nearly-complete support for all features of PDF-1.7. So after some research online I found the following way of doing it: File file = new File(directoryName, fileName) Best Prices Today: 20 at pdfFiller pdfFiller is a browser-based PDF editor that allows you do to just about everything PDF-relatedediting, securing, sharing, creating, and storing PDF. Saving a file isn't an issue for me, nor is opening one, my issue is with creating one and writing in it. I'm trying to create a pdf file inside my app, save it on the external storage the open it.
0 Comments
Leave a Reply. |