Specify the application taskbar for Adobe AIR applications
How to display or suppress a taskbar button for a widget.
Adobe AIR applications can be displayed on the system taskbar. Widgets that are opened for a short time (for example, to perform a specific task) and are then closed should normally have a taskbar button. Conversely, widgets that remain constantly open on the desktop should not have a taskbar button, to save the space required by the button. Instead, such widgets have a tray icon that allows access to the widget.
If the taskbar button is not displayed, IBM MobileFirst Platform Foundation adds a tray icon for the widget. Use the tray icon to minimize the application, restore it, and close it.
- To control whether the desktop widget is displayed on the taskbar, specify the <air> element in the application descriptor. If the <air> element is not specified, the taskbar button is displayed.
- To display a taskbar button for the widget, specify: <air showInTaskbar="always" />.
- To avoid displaying a taskbar button for the widget, specify: <air showInTaskbar="never" />
Parent topic: Development guidelines for desktop and web environments