Project 1a
- App Specs: Create an Android app that displays a notable quote in a TextView control. Use LinearLayout in your layout file. Display a notable quote, joke, riddle, or interesting fact. You can search online or elsewhere to find your item. Set LinearLayout and TextView properties in the layout file to set the position of the TextView control. Modify the application title and colors of your app by modifying the strings.xml and colors.xml files. Also, extract to the resource files colors.xml and strings.xml ny other strings and colors that you use. You can set other LinearLayout and TextView properties if you wish.
- Deliverable: Zip file of Android Project
- Grading Breakdown: Functionality: 65%; Creativity: 10%; Application Title: 5%; Colors: 5%; Colors and Strings in Resource Files: 5%; Indentation: 5%; Properly Submitted: 5%.
Project 1b
- App Specs: Create a Java class that contains an instance method such as getPrediction that returns a random quote, joke, riddle, or interesting fact. You should also have a method that adds an item to a Prediction class object, such as addPrediction. See the Magic8Ball Example. When your class is working, use it in an app to display a random a random item in a TextView control. Use a LinearLayout layout. When your app is able to display the random item, add an event handler so that a random item is redisplayed when the linear layout is clicked. The random quote should be chosen from a sample set of at least 8 quotes, but not more than 20.
Do not include a main method in your Prediction class. The current version of Android Studio cannot successfully run main methods, although previous versions could run main methods. I think this is a bug in Android Studio that may be fixed in future versions.
Set properties of the LinearLayout and TextView controls to set colors and position.
- Relevant Example: Magic8Ball
- Deliverable: Zip file of Android Project
- Grading Breakdown: Functionality: 70%; Creativity: 10%; Source code comments: 10%; Indentation: 5%; Properly Submitted: 5%.