Help asked with opening a file through the app

Hello all,

I am literally new to the whole app-building, I've build website long time ago, but I've found the app-building a completely different game.

What I wanted to make is a very simple app, that would open (or open through) a few documents, pre-installed in the app.
They would be excel and pdf files, they don't necessarily have to be opened in the app, but at least open the correct program to read (pdf) or work on a excel document (WPS).

But, I've been reading all through the forum and yet can not get the app to work. I did manage to make more screens, one of them contains a webviewer for a webbased program and that works.

don't laugh, but this is what I got so far:

I have been trying other ways as well, including FileTools, but can not get the app to connect to a file in the media list.

Could one of you point in me in the correct direction, preferably in lemens terms?

with regards,
Erik

For pdf files see here:

There is no native method for reading Excel files in App Inventor, they may be readable if you use the activity starter and open them in online Excel or Android Excel

Alternatively, upload them and convert them to google sheets....

Also, please refrain from using too many Button#.Click events; use a single Any Button.Click event, especially if you have a lot of redundancies in your logic.

1 Like

There are some tutorials that will help you learn to code Erik

Here are some resources to help you learn to use the AI2 tools. A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook http://www.appinventor.org/book2 ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.

There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles

How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .

Also look here App inventor español. Offline. Tutorial. Ejemplos. Instalación. Códigos. Juegos. Curso gratis de App inventor. and here Tutorial Index | imagnity for more tutorials.

Learn about components Component Reference
and visit the Library The MIT App Inventor Library: Documentation & Support Help>Library on the MENU