Storing and Retrieving Data

  • Carol Hamer


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.


Ghost Carol 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Carol Hamer 2004

Authors and Affiliations

  • Carol Hamer

There are no affiliations available

Personalised recommendations