teaching machines

Homework 3 – feltonj – TwitterBug

November 6, 2011 by . Filed under cs491 mobile, fall 2011, postmortems.

Do you ever get the feeling to dance whenever you read twitter, just boogey-down and perhaps do the “jitter-bug” well, good news for you I created the “TwitterBug” app for your android device!

Here is what my app does:

  1. Retrieves tweets from twitter based on a search. The default search is “day9tv”.
  2. Allows you to search whatever phrase you want, i.e. “StarCraft 2”.
  3. Allows the user to change how many tweets are retrieved in a search.
  4. Displays all these tweets (user who posted it, profile picture and the tweet itself) in a neat ListView.

Here are a few pictures:

I used Twitter’s RESTFUL API and Google’s GSON library to complete this project.

Twitter API: https://dev.twitter.com/docs/api

Google GSON library: http://code.google.com/p/google-gson/

The biggest issue I ran into was that my JAVA beans were somehow malformed and it prevented me from advancing with my project for some time. I fixed these by re-writing them.

Another potential issue with my app is that there is only a small amount of validation in the user input for the search and setting the amount of “results per page”.