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 the employeeSales application.
In Mobile Web Studio, set the application to be available for disconnected mobile devices.
Select “Make
Available for Disconnected Mobile Devices” only for the
master application, not its linked applications. For example, you
would select “Make Available for Disconnected Mobile Devices” for
the employeeSales application (the master application), but not
the customerOrder application (its linked, or “child” application).
On the BlackBerry device, refresh the application.
Open the application.
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.
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.
Select Save from the track wheel menu, and save the change.
Select Send Update to update the UA server with the changes.
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. The next time you refresh this
application, the changes take effect on the Unwired Accelerator
server.