Friday, 12 May 2023

Final sessions before Summer 2023 break will be using App Inventor

App Inventor is a brilliant free, online portal from MIT to allow people to make Android apps.

You register and sign in at: http://ai2.appinventor.mit.edu/

I have been using it for a few years and have lots of coding examples.

Tomorrow's sessions with be examining the "Don't Shake Me" app.




Above is the "Designer" view and below is the "Blocks" view:



It works by adding the AccelerometerSensor from Sensors and TextToSpeech from Media

I connect to and Android phone using a 4G GSM connection and running the AI Companion App (which must be installed on the phone) to scan the QR code presented by App Inventor screen.

When the app is run on the phone it will say "Stop Shaking Me" whenever the phone is shook

Here's it in use:

https://youtu.be/p08pQqWouBg