Join Michael Lehman for an in-depth discussion in this video Challenge two: Send a text using a procedure, part of Simple Android Development Tools.
…For the second challenge when using MIT App Inventor, we're going…to extend ColorSpotR to send a text message using a procedure.…If you followed along with the first challenge and first solution, you…saw that it was a lot of work to duplicate the code.…To send the text message six times, one for each button.…For this particular challenge, we're going to consolidate…all of the win logic into a procedure.…That means everything inside that if statement…that says, if global count is equal…to six, plus the additional blocks that are required to send a text message.…
So, before we send you off to do the challenge, I'm going to show you…just a quick overview of how to create a procedure and how to call it.…So we'll come back to App Inventor, and here…we have an empty project I've called intro to procedures.…So what we're going to do is, we're…going to begin by coming back to the designer.…We're going to put a button on the screen…so that we have something to call our procedure.…And then we're going to put a label on the…
- Understanding the elements of an Android app, such as controls, sensors, effectors, and storage
- Exploring MIT App Inventor 2
- Getting started with Basic4android
- Building simple apps
- Testing apps on Android emulators and devices
- Sharing apps
- Creating hybrid apps with Appy Pie, Make Me Droid, and AppMakr
Skill Level Beginner
1. Overview of Android Development
2. MIT App Inventor 2
4. Web-App-Creation Tools
Next steps1m 43s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.