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 “Offline BlackBerry.”
Select “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).
On the BlackBerry device, sync 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.
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. |
![]() |