Establishing list and detail settings  BlackBerry device tutorial

Chapter 9: Deploying Applications to BlackBerry Devices

Customizing online BlackBerry templates

This section describes how to customize templates for applications that are to be deployed to a BlackBerry device and used in online mode. You can modify the basic BlackBerry template, or create various templates.

NoteThe BlackBerry template can only be used for grid data and not for non-grid (or unstructured) data, such as a Microsoft Word document. You can convert unstructured data to a grid format using JSP, and then apply the BlackBerry template.

StepsCustomizing BlackBerry templates for online mode

  1. In Mobile Web Studio, select Template in the left pane, and Approved under Template Manager Status.

  2. Click the New button to start Template Upload.

  3. On the Template Upload, click Wizard and select BlackBerry.

  4. In the BlackBerry Application Template Customization editor, make these selections to change the header appearance (otherwise accept the defaults):

    BlackBerry Device tab In Name, enter BlackBerry2.

    Appearance tab Under Header Properties, make these changes to the header appearance (accept the defaults for all others):

    Preview tab Click the Preview tab to preview the changes.

  5. Return to the Appearance tab, and make these changes to the row appearance:

    Appearance tab Under Alternate Row Properties, make these changes to data rows appearance (accept the defaults for all others):

    Preview tab Click Preview to see the changes you made.

    The BlackBerry2 template can be applied to applications that you plan to deploy to the BlackBerry device. Once you apply the template to an application and synchronize your BlackBerry device, the new template will be used on the application.

  6. Click Finish.

  7. On Template Upload, select all roles.

  8. Click Save, and OK to confirm.





Copyright © 2005. Sybase Inc. All rights reserved. BlackBerry device tutorial

View this book as PDF