icon element

Syntax

<icon src="string" />

Description

The <icon> element specifies a custom icon for a BlackBerry WebWorks app. The icon that you specify in the src attribute is the app's icon that appears on the Home screen of the BlackBerry device. The icon must meet the requirements for custom or default icons.

This element is required.

Parent elements

<widget>

Child elements

None

Occurrences

One or more

Attributes

You can use the following attributes in this element:

Attribute Description
src

Specifies the path for an image file in the app archive.

This attribute is required.

BlackBerry PlayBook icons

  • The <icon> element is required for BlackBerry PlayBook apps.
  • The icon image should be 24-bit PNG format with an alpha channel. For information about designing icons for BlackBerry PlayBook apps, see the BlackBerry PlayBook UI Guidelines.
<icon src="icons/appicon.png"/>

Last modified: 2013-08-29