Simple wearable projects with your Android phone
Compiling and Running the App
After the screen layout and logic are complete, the Build menu item compiles the app, which can be made available as an APK downloadable file or as a QR code link (Figure 6).
Once the app is installed on the phone, pushing the Talk button opens the Google speech recognition dialog. If you've spoken a valid keyword, you should hear the line from the data file (Figure 7). You can update the data file without making any changes to the app.
Final Thoughts
In this example, I used a simple text file, but you could enhance the code to support multifield CSV files, cloud services, HTTP requests, or Google Maps.
Infos
- MIT App Inventor sign-in: http://ai2.appinventor.mit.edu/
- App Inventor info: http://appinventor.mit.edu
« Previous 1 2
Buy this article as PDF
(incl. VAT)