Lecture videos

The code I write in class is usually available in the cs164-demos repository shortly after. If you cannot access it, email me with your gitlab username.

  • Mon Feb 2  [1:17:01] covers setting up an Android project, and the requirements for Milestone 1

  • Mon Feb 9  [1:02:25] covers testing on Android using jUnit 3, and creating a clickable ImageView.

  • Wed Feb 11  [1:17:45] on the GridLayout and distinguishing tiles when they are clicked.

  • Wed Feb 18  [1:06:41] on testing an activity, scaling images with ImageMagick (cards.zip), shuffling the cards, using Handler to delay an action.

  • Wed Feb 25  [1:19:45] on fixing bugs in the Memory Game, and starting to handle saving and restoring game state when changing the device’s orientation.

  • Mon Mar 2  [1:25:08] on saving/restoring, Milestone 3 expectations, SeekBar, and the mortgage calculator application.

  • Fri Mar 6  [0:42, no audio] quick demo of my finished mortgage calculator app, with pie chart!

  • Mon Mar 16  [1:02:05] reviewing my finished mortgage app code, how to bundle external libraries, and how to invoke transitions to other activities.

  • Wed Mar 18  [54:34] adding audio, scroll views, activity life cycle.

  • Wed Mar 23  [1:07:49] odds and ends about polishing the memory game, and expectations for M4.

  • Mon Mar 30  [1:32:51] on using a preferences activity and simple view animations.

  • Wed Apr 1  [1:48:29] on polishing and incorporating preferences into the Memory Game, and a look at Git branching and merging.

  • Mon Apr 6  [30:26] on further expectations for the memory game, and branching/merging for Milestone 5.

  • Wed Apr 8  [1:05:47] on AsyncTask and accessing JSON web services from Android.

  • Mon Apr 13  [1:34:11] on coupling and cohesion, and modularizing the game activity to support separation of concerns.

  • Wed Apr 15  [1:36:26] with further work on separate GameState, and integrating it back into Android UI.

  • Wed Apr 15 addendum  [6:59] short addendum to the lecture, where I use Serializable instead of depending on the Android bundle.

  • Mon Apr 20  [1:11:45] on fine-tuning the animation, and testing the independent game state.

  • Wed Apr 22  [1:04:27] with further animation progress, for flinging and fading the cards as they are removed.