I'm working on an application that will display data and images from a 3rdparty source. As you might expect, I'm planning to use makeJsonRequest() to retrieve the data and makeImageRequest() to get the images. Due to the nature of the data, the potential costs involved in hosting/serving the data, the need for a bluetooth bridge to access the data, and the frequency I'd expect to need to fetch this data (at least some of it every time the application starts), I'd like to cache as much of it as is reasonably possible.
So far I'm not having any real problems fetching the data. I plan to break that data down to the parts that I need, and then cache it all as properties. I haven't implemented this yet, but it seems do-able by storing the data I need to cache using the AppBase properties system.
The problem that I'm running into is that I'm not seeing a way to cache the image data. I can use makeImageRequest() to get the data, but once I have it the only things I can do are draw it and get its dimensions. As a result, it seems that I have to choose to either put all of the necessary images into a resource bundle, or I need to download each image that is being used when the user starts up the application. Neither option seems to be a very good.
Am I missing something?