The four implementation phases in detail

Let's take an even closer look at the implementation before we actually get to it. Here is how we will divide the implementation into the four phases, this time with a bit more detail as to what to expect in each:

  • Phase 1 – MainActivity and onCreate: In this phase, we will create the project itself as well as implement the following steps:
    • We will add our imports and create the body of our MainActivity class
    • Within this, we will declare the member variables that the game needs
    • We will implement our onCreate method, which does loads of setup work but nothing that is hard to understand
  • Phase 2 – SquashCourtView part 1: In this phase, we will start work on our key class, SquashCourtView. Specifically, we will: ...

Get Learning Java by Building Android Games now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.