Android Question Simple example of PDF creating code needed

wdegler

Active Member
Licensed User
Longtime User
Needed: a simple example of code which creates a PDF file with a string of text, a line and a bitmap.

I have tried using PDFDoc, PDFWriter and PDFJetB4A libraries attempting to find and use a suitable simple example without success. They don't seem to work with Android v2.2. Functions to display such examples to the screen also don't work.

Can anyone help?
 

wdegler

Active Member
Licensed User
Longtime User
Thank you for providing a PDF example. It will be very useful to me.

I asked about Android version 2.2 because I develop apps with such a device (10 published).
I guess I'll have to buy a new (expensive) Android device.

Where can I download PDFDocument.jar and PDFDocument.xml?'
 
Upvote 0

wdegler

Active Member
Licensed User
Longtime User
i guess it is part of the xml provided in #1

Edit
<shortname>PdfDocument</shortname>

Yes it is part of the provided xml/jar
I have not found these files for PDFDocument. In the list provided under B4A Help, there is PDFWriter and PDFViewer but not PDFDocument.
Where should I be looking?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…