Sorting on the BlackBerry device  Chapter 8: Creating a Multipage Mobile Charting Application

Chapter 7: Deploying Applications to BlackBerry Devices

Updating applications on the BlackBerry device

This section describes how to update an application from the BlackBerry device.

StepsUpdating applications on BlackBerry

  1. In Mobile Web Studio, select Applications from the Build menu in the left pane, select Approved under Application Manager, and select the employeeSales application.

  2. In Mobile Web Studio, set the application to be “Offline BlackBerry.”

    NoteSelect “Offline BlackBerry” only for the master application, not its linked applications. For example, you would select “Offline BlackBerry” for the employeeSales application (the master application), but not the customerOrder application (its linked, or “child” application).

  3. On the BlackBerry device, sync the application.

  4. Open the application.

  5. Highlight a record, and select Click Thru from the trackwheel menu.

  6. Highlight a line item, and select Edit from the trackwheel menu.

  7. On the Update Record window, select Clear Field from the trackwheel menu, and enter 10 to change the Quantity value.

    If you had set up data validation, as described in “Creating an update application”, you would receive a custom error message if you tried to enter an invalid entry.

  8. Select Save from the track wheel menu, and save the change.

  9. Open the Sales application again, and check the record and line item. You see the new value in the quantity column.

    NoteThe changes made affect only the persistent data on the device, not in the source data source. The next time you sync this application, the changes will take effect on the Unwired Accelerator server.





Copyright © 2005. Sybase Inc. All rights reserved. Chapter 8: Creating a Multipage Mobile Charting Application

View this book as PDF