Completed to end of page http://www.javacodegeeks.com/2011/07/android-game-development-basic-game_05.html