Skip to first unread message

Brian Quigley

unread,
Aug 5, 2015, 4:31:10 AM8/5/15
to MIT App Inventor Forum

I am trying to build the blocks so that a pdf file will open on click
I can not find any help or tutorials for this
I have just started so I am a complete novice
Can anyone please help with this

SteveJG

unread,
Aug 5, 2015, 7:42:03 AM8/5/15
to mitappinv...@googlegroups.com
if you place the pdf in Media (resources), the following might work




You will get a screen that possibly shows several apps to actually use to open the pdf ... Kindle works best if that is one of your selections.

The connected puzzle piece path is for use while developing on a device; the other floating path should work when you build the apk.

Did the example work for you?


We want you to have fun with App Inventor so 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  .




Regards,
Steve

Taifun

unread,
Aug 5, 2015, 10:05:15 AM8/5/15
to MIT App Inventor Forum
Note: It is not possible to store a pdf document as asset in App Inventor and view it with a pdf viewer. This is, because App Inventor itself can't display pdf files and external pdf viewers called with the activity starter from App Inventor are not able to access assets inside the app.
Taifun

Brian Quigley

unread,
Aug 5, 2015, 5:39:09 PM8/5/15
to MIT App Inventor Forum
Thank you Steve and Taifun
I have already viewed the tutorial videos and they were most helpful to understand the basics.
I will download the training manual
Brian Q
Reply all
Reply to author
Forward
0 new messages