MakeQuiz and TakeQuiz

MakeQuiz

Review Dr. Wolber's AppInventor2 Course-in-a-Box tutorial for MakeQuiz at appinventor.org/MakeQuiz10#
In this project, you learn how to make your own custom function and you learn how to use an online database.

Download and install the MakeQuiz.apk and execute it to get a feel for how it works. As homework throughout the time that you are working on this assignment, read Ch. 22 "Working with Databases" and pay special attention to the latter half of it having to do with TinyWebDB.

Then, download and import the MakeQuiz.aia source code file. Execute this version of the project as well.

In the Blocks area, change the TinyWebDB1 tag from "MinichQuestions" in the three occurrences where it is used to something unique like "JohnDQuestions" where your first name and last initial are substituted for "JohnD". Do the same thing with the tag "MinichAnswers" changing it to something like "JohnDAnswers" in the two places where it occurs.

Notice in the Designer that the ServiceURL for the TinyWebDB1 component is initially appinvtinywebdb.appspot.com
This is a temporary TinyWebDB online ("cloud") web service that they allow students to use. Go to that web site to learn more and to use the storeavalue and getvalue links to learn how it works or to test if your MakeQuiz is successfully storing questions and answers there.

However, I give you permission to change the ServiceURL entry to ***-tinywebdb.appspot.com which is one that I set up at Google App Engine for use with just our class. (See me to learn what to replace the asterisks with.) Note that your questions and answers will be viewed by the public so be careful to make sure that all entries are appropriate for all ages.

TakeQuiz

Build the TakeQuiz project by following Dr. Wolber's steps in the latter portion of at appinventor.org/MakeQuiz10#

Extra Credit

Follow Prof. Wolber's instructions at http://appinventorapi.com/program-an-api-python to download and install Python and the App Engine SDK for Python to your home computer. Then, install App Engine for Python on your home computer and use GoogleAppEngineLauncher to deploy your own public TinyWebDB service to your account at Google App Engine. Use your unique URL address as the ServiceURL in the TinyWebDB1 component of your MakeQuiz & TakeQuiz apps instead of Mr. Minich's wyo-tinywebdeb.appspot.com.

Part of your grade for this project will be based on the instructor's assessment of your classroom productivity that includes your ability to independently learn and apply information from online class resources without help from others and without disturbing the work of others in class.

Upload the apk files to your Google site with the names Make????QuizJohnD.apk and Take????QuizJohnD.apk (where ???? is custom to the theme of your quiz and your first name and last initial are used instead of JohnD.)

You must hand in the following files to dropitto.me/cminich:

  1. Source code file named Make?????QuizJohnDoeSource.aia and Take?????QuizJohnDoeSource.aia
  2. Screen capture of the emulator (or a real phone) during runtime named Make????QuizJohnDScreenCapture.png and Take????QuizJohnDScreenCapture.png(recommended size: 180 x 230 pixels & less than 350 Kb)
  3. The apk files with a unique file names such as Make????QuizJohnD.apk and Take????QuizJohnD.apk.
  4. (optional) Make a screencast video of the TakeQuiz app's execution and name the file Take????QuizJohnD.mp4
    If you are using the classroom tablet or an unrooted personal phone, you may have difficulty taking a video of your app's runtime since no one in our class has found an app or technique that will allow you to make a video screencast without first rooting your phone. Since I would never require you to root your phone, you may need to run your app in AppInventor's emulator in order to take a video screen capture using the screencast-o-matic.com or Quicktime.

You must do the following:

  1. Upload the project files to your Google site with a unique apk file name (e.g.Make????QuizJohnD.apk & Take????QuizJohnD.apk). Also, upload the screen capture and optional video to your Google Site so that others (parents, college admissions reps, prospective employers, prospective customers who may want to download your app) can see and evaluate your app.
  2. (optional) Upload your project to the App Inventor Gallery at http://gallery.appinventor.mit.edu
    Fill in the description field and be sure to add the tag "Wyomissing". Do not use your whole name anywhere in your gallery submission. Only use your first name and last initial such as John D.

You must hand in the following papers:

  1. A colorful, eye-catching 8x10" (or larger) poster advertising your app that Mr. Minich can post in the school hallway. You must print to a color printer or use crayons, markers, etc.

    The poster must include a QR code for downloading the app from your Google site. The QR code will link someone directly to the .apk file and not your main Google site download page (although you may optionally include that additional QR code on your poster).

    Here is an example of the poster that you must create.