This section describes how to update an application from the BlackBerry device.
Updating applications on BlackBerry
In Mobile Web Studio, select Applications from the Build menu in the left pane, select Approved under Application Manager, and select an existing application to make available on the BlackBerry device. This tutorial uses the Sales application (employeeSales) you created in “Mobile applications with transaction support tutorial”.
In Mobile Web Studio, set the application to be “Mobile offline” as described in “Setting up applications for the BlackBerry device”.
You need to select “Mobile Offline” only
for the master application, not its linked applications. For example,
you would select “Mobile offline” for the employeeSales
application you created in “Creating an employee list” (the master application), but
not the customerOrder application you created in “Creating a customer list” (its linked,
or “child” application).
On the BlackBerry device, sync the application as described in “Retrieving applications on the BlackBerry device”.
Open the application as described in “Retrieving applications on the BlackBerry device”.
Highlight a record, and select Click Thru from the trackwheel menu.
Highlight a line item, and select Edit from the trackwheel menu.
On the Update Record window, select Clear Field from
the trackwheel menu, and enter 10
to
change the Quantity value. You can only modify fields that are editable.
Select Save from the track wheel menu, and save the change.
Open the Sales application again, and check the record and line item. You see the new value in the quantity column.
The 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. |
![]() |