Skip to main content

PayComplete™™ Help Center

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.

Task. Add a custom icon
  1. Start Connect on-Device Studio.

  2. On the navigation pane, expand Display and then select Service Icons.

  3. Select Add.

  4. Select the image file containing the service icon.

  5. 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.png

  6. Select OK.

  7. 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/default folder. 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/custom folder if you use to manage icons.

  • Icons for plug-ins implementing com.scancoin.sdk.plugin.IOJServiceFlow2 are stored in the [installation folder]/resources/configurable/images/display/provided folder 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.