Skip to main content

Storing and Retrieving Data

  • Chapter
J2ME Games with MIDP2
  • 73 Accesses

Abstract

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Carol Hamer

About this chapter

Cite this chapter

Hamer, C. (2004). Storing and Retrieving Data. In: J2ME Games with MIDP2. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-0697-2_5

Download citation

  • DOI: https://doi.org/10.1007/978-1-4302-0697-2_5

  • Publisher Name: Apress, Berkeley, CA

  • Print ISBN: 978-1-59059-382-0

  • Online ISBN: 978-1-4302-0697-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics