CPSC 110-08: Computing on Mobile Phones
Spring 2012

Paint Pot: Part II

CS Principles

This activity addresses the concept that programming is a creative process. It focuses, in part, on the following learning objective:

Setting up the Android Phones

We will be doing this activity with Android phones using the lab macines in MCEC-136. To use the phones with the lab machines, there are a couple of minor setup activities.

However, if you want to be able to use the phones from your laptops, you will also need to make sure that your laptop contains the appropriate driver for your phone by following the above setup instructions.

Paint Pot Part II

Now that you have worked through the Paint Pot I Tutorial, let's add more functionality to our app.

Implement Part II of the Paint Pot Tutorial, by carefully following the step-by-step instructions.

Abstraction: Using Global Variables

One of the important concepts in this version of the Paint Pot app is the use of global variables to make it possible to switch between drawing large dots and small dots.

TODO: Read this short tutorial on variables and values.

Adding a Paint Pot Page to Our Portfolios

(HOMEWORK: If you do not complete this activity in class today, please complete it by Friday before class.)

Create a page titled "Paint Pot" under your Homework category and use it to describe your app.

NOTE that this and other homework pages should be linked into the Portfolio's Navigation under the Homework link. It should not merely be attached to the Homework page itself. In other words, your navigation bar should look something like this:

Your description should contain the following elements: