Building Mobile Enterprise Applications : webMethods Mobile Development Help : Defining Resources for the Mobile Project : Adding graphical Assets
Adding graphical Assets
Mobile Applications often use a large number of icons to customize and emphasize the user interface. Icons have to be provided in different sizes in order to support multiple screen resolutions. With Mobile Development, you don’t need to take care of different icon sizes for every screen resolution: You only need to define one asset file. The asset defines how an icon looks like and Mobile Development creates different sizes based from this asset definition.
To create a new Asset
1. Open the application model in the Outline Editor.
2. Right-click the Outline Editor, then select Create new Asset.
Alternatively
3. locate the Mobile Project in your package explorer.
4. Right-click the Project node in the package explorer, then select Mobile > Create new Asset.
After creating a new Asset, the Asset Editor will be opened and you can start to define your Asset. The Asset Editor allows to define an Asset in three different ways. You can either:
*select and customize a Built-In Asset,
*define an Asset based on a SVG,
*or create an Asset Set by importing single PNG icons.
When creating an Asset, developers need to specify a unique, lowercased file name in order to save the Asset. After saving, the Asset file can be located in the <project>/model/resources directory. To open an already existing Asset:
5. Locate the Asset file you like to open.
6. Open the Asset Editor by double-clicking the Asset file or right-click the Asset file, select Open > Open With and select the Asset Editor.
Copyright © 2007-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback