Building Mobile Enterprise Applications : Using webMethods Mobile Designer : 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). Pass a value for image_name that relates to the name of the resource you wish to load, e.g. MyImage.png. No additional path is required; this will be handled internally.
To assist with cross-platform compatibility, the filename given will be automatically converted to lowercase on platforms that need it.
Copyright © 2007-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback