Mobile Development 10.11 | webMethods Mobile SuiteWeb Help | Using webMethods Mobile Designer | Creating Mobile Application Projects | Coding a Mobile Application | Asset Catalogs | Loading an Image from an Asset Catalog
 
Loading an Image from an Asset Catalog
In your application code, the class com.softwareag.mobile.nativeuiassetcatalog.AssetImageLoader is available. This class contains a static method, loadImage(String image_name). Enter a value for image_name that relates to the name of the resource you want to load, e.g. "MyImage.png". No additional path is required.
To assist with cross-platform compatibility, the given file name is automatically converted to lowercase on platforms that require it.