PaintPot

PaintPot is a simple painting program for kids.
You can change the color of the paint and the size of the dots that are drawn. Its one of the early apps students build.

Instead of building this one from scratch, we'll start with a version of it then add some features, the idea being to illustrate how students can share and remix the apps they build.

1. Download the paintpot.zip file at the bottom of this page. Do not unzip it, but leave it as a zip file. This file contains the source code (blocks) for the PaintPot app.

2. In App Inventor, go to the My Projects page, then choose More Actions | Upload Source. Browse to choose the paintpot.zip file. This will load the app into App Inventor for you.

3. Try the app out. See the Magic Eight Ball page if you're not sure how to get an app to your phone.








CUSTOMIZE THE APP WITH PICTURE TAKING
4. The version you have has no "Take Picture" capability. The goal is to let the user take a picture, then draw on that picture instead of the cat. You'll want to do the following:

-- add a button like the 'Take Picture' one to the left
-- add a camera
-- program the button's click event so that it changes the canvas background.

See if you can add this behavior. The camera has a TakePicture block that opens the camera for taking a picture. When you take a picture, the system returns the image just taken in the AfterPicture event. You'll want to change the Canvas background to that image.
Č
ċ
ď
PaintPot.apk
(1659k)
David Wolber,
Feb 29, 2012, 12:29 PM
ċ
ď
David Wolber,
Feb 29, 2012, 12:29 PM
Comments