Answer the following questions:
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.
Answer
See below.
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?
Answer
The picture goes away when the app is restarted because the app is programmed to pull the original canvas up when starting. A bit of code would have to be inserted that saved the picture that was taken and replace it as the functional canvas.
APP WRITE UP