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 ...

Get Micro Java™ Game Development now with O’Reilly online learning.

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