1. For enhancement #6 (the if/else exercise) give a brief description of your solution to this problem. Provide a screen shot of your code -- the revised blocks -- and describe how the if/else block works to solve the problem in this case. If appropriate, include a description of any significant problems or bugs you encountered in solving this problem. App Inventor now has a Download Blocks as Image feature (right click on the white space in the blocks editor to choose) that also can be used to take a screenshot of all of your code or the Windows snipping tool can be used.
I used an if/else block to solve this problem. First you select what you want to change by saying 'if dot size is less than or equal to 0.' You specify this range because you don't want dot size to ever be negative. Next you put 'then set dot size to 1.' Together, this piece of code specifies that if the dot size ever becomes negative, it is set to 1, essentially making the minimum dot size 1. This should also be placed within the larger block of code that is connected to the minus button, because you never want the dot size label to show a number less than 1.
2. When you use the Camera component to take a picture as the Canvas background, explain why the picture goes away when the app is restarted. HINT: Think about the different hardware components we talked about in an earlier lesson and where on the device the picture is stored. What do you think could be done to prevent the picture from disappearing when the app is restarted?
The picture goes away when the app is restarted because it is not saved to the tablet. You could fix this by saving the picture to the tablet and having the app restore it when it was restarted.