Open .pptx files with mit app inventor

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.

You should run a check first that the device has Microsoft Office installed

I confirm that the device has Office installed.

What about for other users, how will your app check this ? Will other users want to install Microsoft Office ?

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.

What exactly do you mean by this? Is this your problem? Provide more details please.

At the beginning of the question, I wrote what I wanted to happen when I clicked the "Apresentar" button.

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.

What are you saying is that it's not possible to open any type of file I want in the way I want?

Please read carefully. I said, you cannot list non-media files ...

But the part of the app that you pointed out is working well, I think it was you who gave this example in someone else's question.

Android version?

Android 9.

Guys, any ideas?

Start by looking up the Activity Starter parameters for the app that plays .pptx files:

https://groups.google.com/g/mitappinventortest/c/sixojwUj4pk

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 apologize, but I think I wasn't clear, I want the files to be opened in office, not with AI2.

https://ai2.appinventor.mit.edu/reference/other/activitystarter.html

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?