O'Reilly logo

Micro Java™ Game Development by Roman Verhosek, David Fox

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 19. Be Persistent: MIDP Data Storage

So, now we've got some data we'd like to store persistently on our J2ME device—the images for the car's weapons. By storing these directly on the device, we don't have to download them every time the MIDlet fires up. Fine, but how do you do it across so many diverse devices, most of which are without hard drives or even file systems?

As with most things in the J2ME scheme of things, data storage is in the mix, but it's rather different than you might be used to, and requires a little limited-device common-sense to use effectively and efficiently.

To take advantage of J2ME's data access capabilities, we'll need to make use of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required