This is a guide for the workshop that I’m going to hold at the summit Immersive Italy 2017 that will take place in Lucca from the 16th to the 19th of November 2017, but it could be useful for everyone.
We will use MIT App Inventor 2 to build an app capable of triggering events thanks to the GPS sensor.
MIT App Inventor 2 can be used thanks to a web interface that one can reach at the following address: http://ai2.appinventor.mit.edu
We would need to sign in using your Google account in order to get the access.
Another thing that we would need is the MIT AppInventor 2 Companion App installed on your Android device. Just look on the Google Play Store for “MIT AI2 Companion” and install.
This will give you a preview during the development of the app. Extremely useful. You can find it at the following link: https://play.google.com/store/apps/details?id=edu.mit.appinventor.aicompanion3
As a last utility to install, there is an App called Fake GPS that would be useful to test the app without actually move from your desk. https://play.google.com/store/apps/details?id=com.lexa.fakegps
Back to our browser. In the first place you may chose your favourite language thanks to the drop-down menu on the top right of your screen.
To begin programming, usually, we need to click on the button “Start New Project”, on the top-left corner; but, since we don’t have much time in this workshop, why we won’t you just download this file? It is a model of app with some work already done and some other file for an head start. https://mega.nz/#!Q6pg2QCR!7aVTVzvSczMP-4o-t6kXjyfK83uaPBVB8tyXx7fSZfM