Enabling different templates for the same element  Device tab

Chapter 6: Building Templates

Customizing mobile application templates

When you deploy mobile applications to a mobile device such as PDAs (Palm OS, PocketPC, etc.) or BlackBerry device, the mobile device displays the embedded data in grid form. You can alter the appearance of these grids using the Mobile Application Template Customization feature, which provides options for presenting data on the PDA, including various color schemes, number of rows to display on each page, and so forth.

The Mobile Application Development Tutorial includes sample procedures for customizing mobile application templates for both PDAs and BlackBerry devices.

Template parameters for customizing mobile application templates include:

Device Change the template name, mobile application resolution, and assigned roles. See “Device tab”.

Appearance Change the font color, font type, and font size for the mobile application. See “Appearance tab”.

Column Set the display length for column cells. See “Column tab”.

Paging Specify the number of data rows to display on the grid, and define the appearance of the paging buttons. See “Paging tab”.

Search Indicate whether to show the search mechanism, and to specify the appearance of the search buttons. See “Search tab”.

Update Indicate whether to update cell data, and specify the appearance of the update buttons. See “Update tab”.

Breadcrumbs Change the appearance of the indicator used to guide the user through the user interface. See “Breadcrumbs tab”.

Business Logic Add your custom JavaScript functions that are called when each grid data cell is drawn. See “Business Logic tab”.

Preview View a graphical representation of your mobile application template settings. See “Preview tab”.





Copyright © 2005. Sybase Inc. All rights reserved. Device tab

View this book as PDF