Some sample Android code that I have written