Adding a custom icon
You add a custom icon when you want to replace the default icons on the Connect on-Device screens with your own.
Start Connect on-Device Studio.
On the navigation pane, expand Display and then select Service Icons.
Select Add.
Select the image file containing the service icon.
In the Name box, enter a name for the service icon.
The name must be identical to the result of calling that method in accordance with:
String IOJServiceFlow.getName()
Connect on-Device Studio replaces whitespaces with underscores (_).
When you save the service icon, Connect on-Device Studio renames the selected file according to the rules. This means that if you select a file named spa-dalek-512.png and enter the name
Dalek Relaxation, the result is a file in the following path and with the following name:[installation folder]/resources/configurable/images/display/custom/Dalek_Relaxation.pngSelect OK.
Select Save to apply the changes.
Note
In version 3.15.0 and earlier, you had to install icons to the
[installation folder]/resources/static/images/display/defaultfolder. The icons were lost if you made an upgrade.From version 3.15.1, custom icons are automatically added to the
[installation folder]/resources/configurable/images/display/customfolder if you use to manage icons.Icons for plug-ins implementing
com.scancoin.sdk.plugin.IOJServiceFlow2are stored in the[installation folder]/resources/configurable/images/display/providedfolder and are available only through the Connect on-Device Studio user interface because they are written to disk each time the plug-in is loaded. Any changes you make are lost after running Connect on-Device.