webMethods Mobile Suite  | 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.

Copyright © 2010-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.