Οι συγκεκριμένες εφαρμογές τρέχουν και σε emulator. Αναπτύχθηκε στα εργαστήρια της Google από μια ομάδα με επικεφαλής τον καθηγητή του MIT Hal Abelson (Abelson, 2009). To App Inventor χρησιμοποιείται και δοκιμάζεται ήδη ως πλατφόρμα διδασκαλίας και εισαγωγής στον Προγραμματισμό τόσο στην Τριτοβάθμια όσο και στη σχολική εκπαίδευση. To περιβάλλον του App Inventor έχει πολλές ομοιότητες με το περιβάλλον του Scratch και του Alice, με τη διαφορά ότι οι εφαρμογές που δημιουργούνται τρέχουν σε έξυπνα τηλέφωνα (smart phones).
Το App Inventor περιλαμβάνεται στην ύλη που προτείνει το Υπ. Παιδείας για τα μαθήματα: “Εφαρμογές Πληροφορικής» Α΄ τάξης Ημερήσιου και Εσπερινού ΓΕΛ” και “Εισαγωγή στις Αρχές της Επιστήμης των Η/Υ» Β΄ τάξης Ημερησίου και Εσπερινού ΓΕΛ”
Steps for beginning to use App Inventor with the USB cable
Step 1: Download App Inventor 2 Ultimate
All in one App Inventor 2 offline server environment.
- Portable JDK
- Single installation file
- No internet connection
- Latest App Inventor source and companion
- Built in 256MB emulator storage
- https://sourceforge.net/projects/ai2u/files/ai2u 4.3/Installer/AI2U 64bit v4.3.exe/download
- https://sourceforge.net/projects/ai2u/files/ai2u 4.3/Installer/AI2 Starter 4.3.exe/download
Step 2: Download and install the MIT AI2 Companion App
Open your device’s QR code scanner and scan the QR code on the left below to download the Companion App from the Play Store. If you can’t use the Play Store, use the QR code on the right to download the Companion App directly to your phone.
|Scan this QR code (or click this link)
to get the app from the Play Store
|If you need a QR code scanner, you can get one at the Play Store|
After downloading, step though the the instructions to install the Companion app on to your device.You need to install the MIT AI2 Companion only once, and then leave it on your phone or tablet for whenever you use App Inventor.
Step 3: Set up your device for USB (Turn USB Debugging ON)
On your Android device, go to System Settings, Developer Options, turn them on, and be sure that “USB Debugging” is allowed.
On most devices running Android 3.2 or older, you can find this option under Settings > Applications > Development.
On Android 4.0 and newer, it’s in Settings > Developer options.
Note: On Android 4.2 and newer, Developer options is hidden by default. To make it available, go to Settings > About phone and tap Build number seven times. Return to the previous screen to find Developer options, including “USB Debugging”.
Step 4: Connect your computer and device, and authenticate if necessary.
Connect your Android device to the computer using the USB cable – be sure that the device connects as a “mass storage device” (not “media device”) and that it is not mounted as a drive on your computer. This may mean that you have to go to the Finder (on a Mac) or My Computer (on Windows) and disconnect any drive(s) that were mounted when you connected your Android device.
On Android 4.2.2 and newer, your device will pop up a screen with the message Allow USB Debugging? the first time you connect it to new computer. Press “OK”. This authenticates the computer to the device, allowing the computer to communicate with it. You’ll need to do this for each computer you want to connect to the device, but only once per computer.
Step 5: Test the connection
Go to this Connection Test Page (opens in a new tab in your browser) and see if you get a confirmation that your computer can detect the device. If the test fails, go to General Connection Help and look at the USB help for your computer (Windows or Mac). You won’t be able to use App Inventor with the USB cable until you resolve the connection issues.
Steps for beginning to Connect your Phone or Tablet over WiFi
You can use App Inventor without downloading anything to your computer! You’ll develop apps on our website: ai2.appinventor.mit.edu. To do live testing on your Android device just install the MIT App Inventor Companion app on your Android phone or tablet. Once the Companion is installed, you can open projects in App Inventor on the web, open the companion on your device, and you can test your apps as you build them:
The following steps will walk you through the process
Step 3: Connect both your computer and your device to the SAME WiFi Network
App Inventor will automatically show you the app you are building, but only if your computer (running App Inventor) and your Android device (running the Companion) are connected to the same WiFi Network. See a more detailed explanation of this here.
Step 4: Open an App Inventor project and connect it to your device
Go to App Inventor and open a project (or create a new one — use Project > Start New Project and give your project a name).
Then Choose “Connect” and “AI Companion” from the top menu in the AI2 browser:
A dialog with a QR code will appear on your PC screen. On your device, launch the MIT App Companion app just as you would do any app. Then click the “Scan QR code” button on the Companion, and scan the code in the App Inventor window:
Within a few seconds, you should see the app you are building on your device. It will update as you make changes to your design and blocks, a feature called “live testing”.
If you have trouble scanning the QR code or your device does not have a scanner, type the code shown on the computer into the Companion’s text area on your Android device exactly as shown. The code is directly below where the screen on your PC shows “Your code is” and consists of six characters. Type the six characters and choose the orange “Connect with code”. Do not type an Enter or carriage return: type just the six characters followed by pressing the orange button.