teaching machines

Griffits Puzzler (Timed Theme Test)


CS 491 Lecture 26 – Geocoding and Location-aware Apps

This is the final week of the semester, and you are hastily completing your projects. I’m occupied too, so this last exercise will be terse. The only feature we haven’t discussed in class is supporting reverse geocoded checkin posts. If someone goes to a business or other physical landmark, they should be able to—with one […]

CS 491 Lecture 25 – Localizable Text

Exercise Not separating model from view in our software makes our model not reusable for other applications. We have tight coupling between our logic and our presentation. Even within our view, however, we can have tight coupling. If we hardcode our American English into labels and currency and date formatting, we make our view not […]

CS 491 Lecture 24 – OAuth2 Access Tokens

Agenda what ?s final exam time: R 5-7 exercise: getting OAuth2 access tokens Exercise Last time we started integrating access to a Picasa Web account into our mobile apps. All the interaction with the Picasa Web hinged on having a special string—the access token—which we sent along with every request in the Authorization header. We […]

CS 491 Lecture 22 – Working with Picasa Web

Agenda what ?s building a Picasa Web browser recover Exercise Today let’s make a browser for Picasa Web. The overarching design is this: The first screen presents a list of albums. When the user selects an album, the app transitions to a list of pictures in that album. When the user selects a picture, the […]

CS 491 Lecture 18 – Speech Recognition and Text-to-Speech

Agenda what ?s an app for counting things Exercise Bird watchers sit for hours in the woods and count how many times they see each species of bird. Children on long car trips count how many blue cars they see, and how many red, and how many black. Masters of verbal communication count how many […]

CS 491 Lecture 15 – Working with the Camera

Agenda what ?s TODO Read Android’s Taking Photos Simply. Skim Apple’s camera programming documentation. 1/4 sheet. Exercise Two things are true: Some of the best stories are told as a three-panel comic strip. We need to learn how to use the camera on a mobile device. Let’s exploit this plurality of truth by writing an app […]

CS 491 Lecture 13 – Persisting with Preferences

Agenda what ?s the need for persistence the need for lightweight persistence persisting in TicTacToe TODO Read http://mobile.tutsplus.com/tutorials/iphone/nsuserdefaults_iphone-sdk. Read http://www.vogella.com/articles/AndroidFileBasedPersistence/article.html. 1/4 sheet. Exercise Apps are made to be interrupted. Let’s get our hands dirty by implementing a game of TicTacToe, preserving the game state on interruption, and restoring the game from the persisted state on resume. Write […]

CS 491 Lecture 11 – Task Navigation

Agenda what ?s git client available navigating between Activities using intents sharing data between Android tasks navigating between tasks using UINavigationController sharing data between iOS tasks TODO Read up on UINavigationController at  http://www.appcoda.com/use-storyboards-to-build-navigation-controller-and-table-view and https://developer.apple.com/library/ios/documentation/uikit/reference/UINavigationController_Class/Reference/Reference.html. 1/4 sheet. Sharing Data Between Activities If the data is a message from one Activity to another, use Intent extras. On the […]

CS 491 Lecture 9 – On Today and JSON

Agenda what ?s tracking memories on this day in history database getting and putting memories through $_REQUEST exchanging data with JSON an Android client Code schema.sql put.php get.php edit.xml activity_main.xml Memory.java MainActivity.java Haiku

1 2 3 32