Building Mobile Enterprise Applications : Using webMethods Mobile Designer : Coding a Mobile Application : Image Caching
Image Caching
 
Managing the Image Cache
Disabling Image Caching for the Whole Application
Copying an Image for Drawing
Mobile Designer now supports caching of javax.microedition.lcdui.Image data. This happens transparently, without intervention from the developer. Calls to Image.loadImage() will first check if the data exists in the internal Image cache. If so, then the previous Image instance that was created will be returned. This behaviour is enabled by default, but may be disabled if required.
Note:  
Due to the way caching is performed, altering the Image through the Graphics Object associated with it will now alter ALL references to that loaded file. A copy of the Image can be manually created, if altering a single instance is required.
Copyright © 2007-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback