This repo contains the source code for an example App Inventor Extension that enables App Inventor to connect with Amazon Alexa skills.
To generate a .aix file to import into App Inventor:
- Place the .java source code in
appinventor-sources\appinventor\components\src\com\google\appinventor\components\runtime
within the MIT App Inventor Sources. - cd into
appinventor-sources\appinventor
, and runant extensions
. This generates the .aix file. - Find the .aix file in
appinventor-sources\appinventor\components\build\extensions
. - Upload the .aix file to MIT App Inventor
- The extension should appear underneath "Extension" in the Palette. Drag the extension into the "Viewer". It should now appear underneath "Non-visible components" in the Viewer.
- Go to the "blocks" page and use the extension block that appears underneath your sceen name to create cool apps!