Texting

MIT App Inventor can send a text message to provide time stamps to events and helps teams find video segments of their device being used.

You first need to get Google voice, choose a phone number, and link your Google Voice account to the Android phone. You also need to change a couple phone settings while doing this. This tutorial details that process:

http://explore.appinventor.mit.edu/content/google-voice

In your App Inventor code, you will need to create a new 'Texting' element from the Social menu and then you can edit the properties of that element to enable Google Voice and to have the correct phone number to send text messages to. This is the properties bar I have working for my robot:

If you would like to text multiple numbers at once, please follow this tutorial:

http://beta.appinventor.mit.edu/learn/tutorials/textgroup/textgroup.html

In your block diagram, you need to then call the SendMessage method. The block diagram shown below iterates a counter variable by 1 each time a candy is dispensed, then it sets the text message body to read "___ candies have been diespensed" where the blank is the counter variable. It then sends this message to the phone number specified in the message element properties.