![]() ![]() So apparently the code I was using wasn't compatible with android, hence the error I was getting. Integration with Dropbox, OneDrive and Google Drive. ![]() 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 ? Foxit is also a PDF reader available on Windows, making it a good option for cross-platform use as well. Upon running my app and executing the code above, I get the following error: : Failed resolution of: Ljava/awt/Color PDF Candy Best free PDF editor Specifications Developer: Icecream Apps Compatibility: Chrome, Firefox, Edge, Opera, Safari Category: OCR, PDF editing, file. ![]() 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")) So after some research online I found the following way of doing it: File file = new File(directoryName, fileName) 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. |