Android code that goes with the article.