Blog Archives

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

Posted in cs491 mobile, fall 2013, lectures

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

Posted in cs491 mobile, fall 2013, lectures

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

Posted in cs491 mobile, fall 2013, lectures

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

Posted in cs491 mobile, fall 2013, lectures

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,

Posted in cs491 mobile, fall 2013, lectures

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

Posted in cs491 mobile, fall 2013, lectures

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

Posted in cs491 mobile, fall 2013, lectures

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

Posted in cs491 mobile, fall 2013, lectures

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

Posted in cs491 mobile, fall 2013, lectures

CS 491 Lecture 7 – List Views

Agenda single letter domain names list views two letter domain name app in iOS and Android TODO Read up on Android’s Intent mechanism at http://www.vogella.com/articles/AndroidIntent/article.html. 1/4 sheet. Mobile User Interface Code ViewController.m activity_main.xml MainActivity.java Haiku

Posted in cs491 mobile, fall 2013, lectures