Library

Monday, January 1, 2018

A New Year - to app design!

Happy 2018, and to start off the New Year, I started the first work on my personal goal to build an android app using MIT AppInventor and Arduino to turn my front porch light on and off using my phone. Following this tutorial (which is actually 4 linked tutorials in total, so be prepared to give yourself a day or so, maybe 2-3 hrs total, to download, set up, and design all elements), I found several steps that could use some more explanation, including:

The tutorial instructs several times through many of the tutorials that when you access the "AIM-for-things-Arduino101.ino" library files, "make sure <file> is enabled". Yet they don't explain how to do this. To do this, make sure you have your Arduino IDE (Integrated Development Environment) open, and that you've selected this .ino file and you find the <file> referenced, for example LED. To enable LED, find the word "Disabled", highlight it, and simply type Enabled to replace Disabled.

When you design your AppInventor interface, for example in the tutorial for BasicIoTSetup project, make sure when you rename the 4 buttons you add to the horizontal layout area, that you change the font from "14" to "8", or whatever size works for your device screen. Otherwise, not all the buttons nor their functionality show up on your device/phone screen for use. I found this to be true developing using my Samsung J3. So, if all your buttons don't display, check font size and change it!


No comments:

Post a Comment

sepinventors@gmail.com

My photo
Charlottesville, VA, United States
I'm a freelance ed tech consultant involved with learning labs throughout the Charlottesville area. M.Ed with 10+ yrs programming experience in private industry, loving reconnecting to the fun teaching animation programming.