[FREE] Create PDF file Extension. Layout to PDF

Are you trying to copy something manually into that directory? To read that directory Total Commander needs only read permission, but not write permission...

Taifun

A recent android security update may be blocking new access attempts to folders.. I can access ASD folders I previously accessed, but cannot, like you, add a new one at the moment...

You may, therefore, wish to copy your file in the ASD to shared storage. Search the community for how you do that, there are many topics.....

I want to send the generated pdf file by email. This is my plan. Is it done?

From within the app ? If so, use the Sharing component.

I want the file that is created to be saved in a folder that I can read from my mobile phone. This can be done?

You probably need to use SAF to do this.

Although SAF may not be able to read ASD of other apps.

Hello
Reading the pdf file and sharing does not work (it does not attach the file), i.e. as if it does NOT exist!
Please see the image and the file.
Where is the mistake?
borrar_createPdf_A10.aia (16.5 KB)

Working OK here in companion on Android 13

Try this revised aia project:

borrar_createPdf_A10_revised.aia (11.7 KB)

Thanks!!!!!!!!!!!!!!!! :grinning:

One last question
I haven't found the extension KI04_Pdf101
I have found with the similar name that has many more blocks but it does not have it

εικόνα

I'm looking for what you put in the example above


Thanks

You will find it here

http://kio4.com/appinventor/284C_extension_crear_pdf.htm

That block is now named GetASDPath

I downloaded the pdf extension as you told me.
εικόνα

I have replaced the corresponding blocks as I see them from the pdf extension, but it did NOT work. Does not create pdf, does not share. Yours is working fine. Where is the mistake?

Please see the following images and the .aia file
ctreate_Pdf_share_fromASD.aia (12.1 KB)

The available blocks from the pdf extension are the following:

You need to use the "10" blocks

What do you mean?
This is what I used. I used the "10" blocks
See the pictures above and the one below
(on Android v13)

No you did not :wink:

image

thank you very much, it worked! :grinning: :grinning: :grinning:

See here for a method to make a PDF from an arrangement that is wider than the screen

Hello, I am to use the extension KIO4_PDF @Juan_Antonio, I have a cuestion with the size of image that I picture of the camera.
The canvas of document pdf is more long respect to imagen, also when I picture photo, this one is in horizontal, but i picture in vertical I don´t know.

This my Blocks

and this the result
prueba.pdf (6.5 KB)

Read through this topic (and the post directly above yours) for solutions

when tried to create file - error coming -
/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/test.pdf
false

when tried to share file - error coming -
Error 2001 : The File file:///storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/test.pdf
could not be found on your device

I am having aicompanion2 on my laptop
Please guide