Enjoying the preview?
This is the free first lesson. Get full access — request a demo or sign in.
Enjoying the preview?
This is the free first lesson. Get full access — request a demo or sign in.
You will create an Android game that shows two buttons which the user clicks as many times as possible in a 30-second time frame, using background tasks, a timer, a progress bar, and a game state class.
The timer uses a runnable task, and the progress bar displays the remaining time. The course covers using a postDelay handler for the clock, deleting a callback to stop the clock, updating the progress bar, and checking for the time limit to end the game.
It covers Android Applications, Android Development, Android UI, AsyncTask, Java GUIs, and Real Time Java.
The game state class is designed to encapsulate all the properties of the game, including the remaining time and the score, demonstrating how to design a class that encapsulates multiple properties of an application.