It turns out that storing bytes of data locally on a device that’s equipped for the Mobile Internet Device Profile (MIDP) is easy. Therefore, this chapter starts with an extremely simple example: You’ll take the maze game example from Chapter 3 and store the user’s preferred size information. Then, each time the user restarts the game, the game will automatically create the maze with walls of the user’s chosen width rather than starting at the default width.
Unable to display preview. Download preview PDF.