I have taken the easy way, I have joined the two extensions.
Now the extension is called com.KIO4_Pdf.aix, if you use the blocks that end in 10 (Create10, AddPage10 and Finish10) the files will be created in ASD, these blocks are appropriate to Android> = 10.
If you use the blocks that do not end in 10 (Create, AddPage and Finish) you will be able to choose other directories of the SdCard, these blocks are appropriate for Android <10.
Using the GetApi block, you can get the Android version of the device.
hi
it seems that the extension no longer saves in internal memory.
after updating my cell, it doesn't work.
first created the .pdf file
my GetApi returns 30.
I use the pdf10 function even when using the aia file downloaded on the kio4.com website it does not work.
someone has tried yet.
thank you
To work on Android 10+, you must use the Create10, AddPage10 and Finish10 blocks, the file the_pdf.pdf will be created in /storage/emulated/0/Android/data/'namepackage'/files/
Thank you for your answer.
already use Create10, AddPage10 and Finish10 blocks.
but the file is not found.
also using the aia file referenced on the site, the comida.pdf file is not found.
I had no problems before.
in my opinion something has changed on version 11 api30
try to see this link Problem with July 30 2020 Version: nb184 no longer able to write and read files - #50 by ewpatton anke
but I'm not an expert and maybe I'm wrong
Try my aia project. I have added a click event to the image, if you touch the image after reading the pdf you get the message, scroll the page to see the original vertical arrangement.
i have try you new aia file, but, sorry no work for me.
strange because it worked well before.
if it can be useful to you. I have a samsung.
try to test on a samsung terminal.
thank you
ok the app reads the file created, but if I look for it, the file.pdf physically in my internal memory can't find it.
while before I saw the file.pdf.
is there any way to save it in Download?
because in android 11 the android / data folder is no longer visible. (it is empty) before I could open the pdf file and print its content.
now the created.pdf file is no longer visible for android restrictions.
if you can save in Download or Document you can again (in android 11) open the file and print.
it is important for my app.
Currently (April 2021), it is possible, using a file extension, to copy/move files to common folders on the sdcard.
This may change when AppInventor starts to target API 30 (full on Android 11 with all restrictions applied), and our current understanding is that you cannot then copy files in the same way.
We won't really know what the possibilities will be until Google/MIT sort all this out.