Lesson Plan: Programming Concepts
1. Introduce PaintPot app:
"Today, you'll build an app that lets you draw on the kitty picture! Or on a picture you take with your camera!"
Demonstrate drag-in of canvas and how you should set its width to "fill parent" and height to, say, 300.
Demonstrate touch event causing a dot to be drawn.
Explain event arguments (parameters). They appear in event handler blocks (e.g. Canvas.Dragged)
DO NOT UNPLUG EVENT ARGUMENTS, but grab value block from My Blocks.
2. Activity: Built the app PaintPot
Tutorial from book You may want to demonstrate Camera component and TakePicture, AfterPicture commands in middle of tutorial.
3.
Post-Introductory-Tutorials Worksheet solutionI typically handout worksheet to students and ask them to discuss questions in small groups. Every 5-10 minutes I pull the class together and discuss 1 or 2 of the questions.