Hello to the forum, I apologize for my English that I do not know and for this I use the translator.
I am attaching the aia file of an application that I am designing using projects that I have searched on the internet.
When you start the application, it goes to read all the pdfs contained in the external SD card (Micro SD) of my device and populates the ListView with all the names of the pdfs.
I need help to select a name from the ListView so that it displays the pdf. I have made several tests with suggestions found on the internet but it always gives me error.
Thanks in advance to the forum for any help.
The issue you have is that you have stripped the file path from the files to make your listview.
You will need to get the selection index of your selected file, and correspond that with the original list returned by TaifunFile (fileList), then use this to display your pdf.
My extension ViewPDF, seems to work with most file locations (testing on Android 10, companion), but not sure about external sd cards...)
I had placed the launch of the "list_pdf" procedure in the "when Screen.PermissionGranted" block when I had to insert it into a "Button". Then I was missing the "ViewPdf" extension.
Hello, here I am again for help from the forum which I thank for the valuable contribution.
I attach the aia file of the project, I ask if it was possible to view the pdfs with Adobe Acrobat and not as it happens now.
Thanks for any help.