Hello, I would like to know, if it is possible, how to open a .pptx file by clicking a button, more specifically, I have a directory and I would like that when I click on the button the files in that directory are opened in Microsoft PowerPoint presentation mode automatically, If possible, I also wanted the files to be opened automatically in order, that is, when the first PowerPoint finished, the second, in that directory, would be opened automatically.
These are the blocks I have, for context, when I click on the "Mostrar_Ficheiros" button, a list of all .pptx files from a specific directory appears, on the "Esconder_lista" button, the list of .pptx files is hidden until the user Click on show files again and the "Apresentar" button at this point only opens the powerpoint.
The "Apresentar" button is the button that I wanted to have the function described first.
The only user will probably be me, it is a project that I am trying to develop, I do not intend for the app to be used for commercial purposes or by other users.
You cannot list (access) non-media files (that are not created by the app itself) from any location on Android 11+ (especially not outside one of the Shared folders /Documents & /Download) without SAF.
Since they are all your pptx files, try a conversion tool like
to convert them into files that can be displayed in an AI2 Image component, or web viewer.
Then upload them all into the Media folder using whatever naming convention makes it easiest for you to run through the file names in your presentation scheme.
You could also include a Table of Contents manifest file to drive the presentation.
I'll check that article, but do you have any ideas/solutions for automatically presenting files, how to open PowerPoints automatically and present them automatically too, or is this present in the article?