A combination program that uses ContactPicker, Twitter, and TinyWebDB.
To use: pick a contact from your contacts list on your phone, and the name and phone number of the person will show up in indicated textboxes. Then you can use that name and phone number, along with any additional text if you want, and update your status on Twitter. At the same time, the name is stored as a tag on TinyWebDB, and the phone number is stored as the value.
A program that stores a tag and a value, and puts it on the tinywebdb website.
Later we added a Search button. You can entered a tag into the textbox below it, and it will return a label that has the value of the tag.
ContactPicker was also implemented at the end.
This program is an app that lets you automatically log in to twitter, update your status, and let you see the tweets from your follower.
This app. was an alteration of AnimatedBall. It was changed so that when it reaches an edge of the canvas, it would bounce off and go in the opposite direction. It took us a lot of trial and error to fix it! We got rid of a lot of things from AnimatedBall, like the ballEdge method and the score. We used our first if-else structures to determine whether the ball was near an edge or not and make it bounce. It didn’t work well at first because we discovered that the ball was too big, which always made the first if statement true, so the ball didn’t bounce when it reached the lower edge. After decreasing the radius from 10 to 5, everything worked fine.
This program is AnimatedBall. Basically, there’s a black circle moving left to right on the screen at 20 pixels per second. We used a timer here to help create the movement. If you touched the ball, it would jump to the center of the canvas and keep moving. If it reached the edge of the canvas on the right side, it would jump to the top left corner. Later, the program was changed so that when the ball was touched it would jump to a random X,Y location instead of the center. A score was kept, and each time the ball was touched the number would increment by one.
I learned how to use global variables, as well as how to combine multiple actions into the same purple box action.
This program is called PaintPot. The BG image in the same cat picture as was used in KittyPurr, but this time around, there are 3 buttons that allow you to change color. If you tapped the phone screen, a circle would be drawn, and if you dragged your finger, a line would be drawn following your finger.
SpeakIt and KittyPurr
SpeakIt was the first program attempted after receiving the Nexus phones. We were introduced to AppInventor, and learned how to make buttons [by dragging] and other things like sound [in KittyPurr]. After dragging the necessary things onto the canvas, BlocksEditor was opened, and there we created the actions the buttons and whatnot on the Canvas would do. After that, a barcode was generated on the computer screen and scanned with the phone, and voila! The application worked and downloaded. SpeakIt spoke whatever you labelled your button’s text to be.
KittyPurr involved the use of a picture and sound file, which was integrated onto the canvas. It was performed so there was a picture of a cat with the words “Pet me!” on it, and when the screen was touched the cat would purr.