AppInventor2 version of Definitions (all blocks)

We are working on a project that uses an older version of mit app inventor, and we wanted to know what are the definition block equivalents in mit appinventor2. (For those who are interested, we are building a GPS app.) we’d like to know as soon as possible! Thanks in advance!

are you saying, you are using a tutorial, which is based on App Inventor Classic?
what about using the App Inventor 2 tutorials instead?

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 do the tutorials Our Tutorials! to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor

you can find the intialize global and local blocks in the Variable drawer
Unbenannt

Taifun


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

AI to AI2 conversion

To convert AI Classic blocks to App Inventor 2 blocks, the advice in Scott’s link might help…the link outlines some of the differences between AI Classic and AI2:

https://groups.google.com/forum/#!searchin/app-inventor-developers-library/Classic$20/app-inventor-developers-library/BFtMa0BpJq8/tY_9ZCXbtH8J

This second link talks about differences between Ai Classic and the new stuff in AI2 http://appinventor.mit.edu/explore/ai2/whats-new.html

The AI2 free online eBook http://www.appinventor.org/book2 … the links are at the bottom of the Web page.will help you to learn to code with the AI2 blocks. If you understand AI blocks, the conversion will not be difficult; just time consuming.

1 Like