PDF öffnen aus der App

Hallo Ihr ich habe eine Frage.
Ich wollte eine PDF öffnen wenn ich eine Taste auf dem Screen drücke.
Datei hochgeladen und die Blöcke so wie im einem Youtube Video angelegt aber nix tut sich nach Erzeugen der apk.
Link zum Video: AppInventor2 pdf datei mit activity starter aus appinventor starten Tutorial - YouTube
Was mache ich falsch? Kann mir da einer helfen.

Please show your relevant blocks

Habe alles so genannt wie in dem Video. Hatte meine PDF auch so umbenannt um es zu testen.

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.

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

Ok mache ich morgen. Danke


Was muss ich als Pfad eintragen um die PDF zu öffnen?

Gruß Stefan

Das Video ist veraltet.
Versuche dies:

Das funktioniert jedoch nur mit Companion, so wie im Video gezeigt.
Für die APK muss die PDF-Datei erst von den assets in den external storage (ASD oder Shared folder) kopiert werden.


The video is out of date.
Try this:

However, this only works with Companion, as shown in the video. For the APK, the PDF file must first be copied from the assets to the external storage (ASD or Shared folder).

1 Like

See also here:

1 Like

Danke so hat es geklappt.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.