Add an icon to your FDT project

Before you begin: Create an image in PNG format with a maximum resolution of 114 x 114 pixels.

  1. In FDT, in the FDT Explorer pane, in your project tree, right-click the src folder.
  2. Click Import.
  3. Expand General, and select File System.

    Screenshot of import screen, select File System.

  4. Click Next.
  5. Beside the From directory field, click Browse.
  6. Find the folder that contains your image.
  7. Click OK.
  8. Select the check box beside your image.

    Screenshot of Import selection screen, select HelloWorld icon.

  9. Click Finish.

After you finish: You must update the bar-descriptor.xml file to notify the BlackBerry 10 SDK for Adobe AIR that the image is the icon for your application.

  1. In the FDT Explorer view, in the bin folder for your project, double-click the bar-descriptor.xml file.
  2. In the text editor pane for bar-descriptor.xml, update the value of the image element to use your icon. Between the image elements, replace your_image.png with the name of your image file.
    <icon>
      	<image>your_image.png</image>
      </icon>
  3. On the File menu, click Save.
comments powered by Disqus