I want to open a pdf file in app inventor. I installed this app (App Inventor Tutorials and Examples: Pick a file | Pura Vida Apps) on my phone (Android 13), but after picking a pdf file, this app is not able to open a pdf file. I see only message: "unfortunately there is no pdf reader installed on this device".
Please help me to fix this app for devices with Android 13.
It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.
To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.
GoogleOCRFinal.aia (160.0 KB)
I want to change app GoogleOCRFinal. I want to add searching the pdf files in storage of phone and sending selected pdf file to OCR. I am not able to set the path of pdf file for OCR.
Please help me.
Hi Timai2,
Just send the pdf file to Google for OCR recognition. I don't want to view the pdf file. The files are stored in the phone's internal memory in the Documents folder (not in the application).
Don't worry that the example aia project is out of date for Android 13.
Please help me.
I would suggest that the easiest thing to do is use SAF to pick a file from /Documents and copy it to your ASD. Then you know you have read/write for your app on that file. Then you can run the GoogleOCR on it.
Using SAF should ensure that you can access any file from your /Documents folder, regardless of whether your app created / owns the file or not.
Hi Taifun, I installed apk file from this extension, but it did not work. I need something easy, because I only want to pick the pdf file from external memory and to send to Google OCR.
Hi Timai2,
problem is that, I do not know all my pdfs which will be saved in future into my phone. I will want to use only some pdfs in my app, not all.