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.
Example:
You can download the extension from:
http://kio4.com/appinventor/284C_extension_crear_pdf.htm