teaching machines

TextGetter

December 5, 2011 by . Filed under cs491 mobile, fall 2011, postmortems.

For Homework 3, I had decided to take the first few texts from TFLN and show them on my application.  To get the texts, I parsed the HTML that I had pulled from the homepage of the website. Because the website updates on its own, each time you open the application, you will get the 5 most recent texts that have been entered.  This is done by the Service. It finds the 5 most recent texts, sends it back to the main activity through a bundle and the main activity prints them to the screen.