I want to run a simple iText program, here is my code: http://pastebin.com/C6YMkYNk
It is working fine with Java but not in Android. I am using iText version 5.1.3. My c
Try this:
FileOutputStream fOut = openFileOutput("a.pdf", MODE_WORLD_READABLE);
PdfWriter.getInstance(document, fOut);
You cant just start writing to the working directory. You have to store it on the sdcard
I don't think that version of the library is optimized for Android dev as it contains several libraries that do not work for Android....such as the AWT libraries.
You need to contact their sales department to find out how to get your hands on the Android library of iText