Adding an SVG Wait Screen

See Also

Wait Screens allow users to execute a blocking background task (for example, connecting to a network), and show the progress of the task or display a message on the screen to inform the user that the application is still working as intended. Within Java ME, CLDC/MIDP applications, you can use SVG files to provide static or animated wait screens.

To add an SVG wait screen:

  1. Drag an svgWaitScreen component from the Component Palette and drop it in the Flow Designer.
  2. Drag an SVG file from the Explorer Window and drop it on the created component.

The svgWaitScreen component contains two ports, "Success" and "Failure". When the background task is successfully finished (that is, no exception is thrown), the component automatically continues with the next action in the application flow. If the task fails (an exception is thrown), the component automatically continues with the action connected to the "Failure" port.

See Also
About Scalable Vector Graphics (SVG) files
Working with SVG files
Using SVG Graphics: Quick Reference
Working with SVG Animations
Adding SVG Splash Screens
Adding SVG Menus
 

 


Legal Notices