Runtime Error java.io.FileNotFoundException: /storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/roopak1.pdf (No such file or directory) Note: You will not see another error reported for 5 seconds.
I am surprised to read that you say it works in another app, it should really not be possible to copy a file from one ASD to another ASD for another app, (it may be possible in companion with extensions...)
Perhaps explain what it is you are trying to achieve, and we can point you in the right direction...
You might also want to read the documentation here:
Hi, first of all very nice and useful extention.
The extension works perfectly when I share pdf with telegram or Drive but when I use WhatsApp to share the file is corrupted . I used the 10 blocks, there is a Bin notation
Thanks for your reply.
I found the error, there was a space at the end of the name .pdf(space)
Probably whatsapp doesn't able to fix and manage this extra space but telegram and Drive yes.
The pic helps me to see the space
How is this related to this pdf extension?
What about providing a screenshot of your relevant blocks?
Which Android version are you using for your tests?
The PDF extension does not recognise any filescope settings. You use the plain blocks if Android version is < 10 and the "10" blocks if android version is >= 10.
I want to display a pdf/html content in my app.
When I was looking for a solution, I came upon this extension. Imported the AIA file to test in my device. I didn't make any changes to the code. My android version is 14.