Some sample code from an ADK lecture on java