Lab 6: HelloPurr + Vibrate

Lab Description:

In this lab, I used appinventor to create an app that could be used on any android. This app created has a picture of a cat and the cat have functions where, if you tab the cat, the cat would make a sound and also vibration is added in there as well. Overall in this lab, I created an app with appinventor and then edited the functions of the app with block editor where all the available functions can be found and used to edit how the app runs.

Codes:

when Button1.Click
call Sound1.Play
call Sound1.Vibrate millisec number 500

when AccelerometerSensor1.Shaking
call Sound1.Play

ScreeenShots:

HelloPurr

 

HelloPurrr

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *