This section describes how to set up a user on the BlackBerry device or simulator. You can define a default profile for users through Mobile Web Studio, or you can require that individual user profiles be set up through Mobile Web Studio. Set up the default or individual accounts in Mobile Web Studio as described in “Mobile Web Studio accounts”.
In addition, this section describes how to configure push sync, so you can update the database from the BlackBerry device.
By default, the BlackBerry device is configured for
an MDS connection. If your environment uses a TCP connection, inform
the user to configure TCP on the BlackBerry device.
Setting up a user on BlackBerry device or simulator
The BlackBerry user sets up a profile on the BlackBerry device, using the Profile option on the trackwheel menu.
Make sure the BlackBerry offline client is running on the device. You should see the Unwired Accelerator icon in the Application menu. If you do not, see “Installing the UA offline client” for information about obtaining the offline client.
Select the Profiles option on the trackwheel menu.
Select the New Profile option from the trackwheel menu.
On the New Profile screen, enter the profile name, user
name, password, resource ID, server name and domain, and port number.
This example uses the masuper
/m8super
account.
Profile Name – the profile
name for the account, such as mwsAdmin
.
Username – the account user name, such
as masuper
.
Password – the account password, such as m8super
.
Resource id – the default resource identifier
(RID) for the account, such as 21
for
Unwired Accelerator.
Server name – the server and domain on
which Unwired Accelerator is running, such as labxp.sybase.com
.
Port number – the port used to access Unwired
Accelerator, such as 4040
.
HTTPS – indicates whether you plan to use HTTPS, which helps secure data transferred over the air (OTA). When you select HTTPS, you are prompted to enter the HTTPS listener port number of the Unwired Accelerator server (4443 by default on Tomcat) When HTTPS is selected, all communication with UA is done over HTTPS.
Select Save from the trackwheel menu, and save the settings.
Highlight the new profile, and select Set as Active from the trackwheel menu to make the profile active.
Return to the Unwired Accelerator screen.
Once you use Mobile Web Studio to create mobile applications, and synchronize, you see the applications on the mobile device.
Setting up push sync for BlackBerry client
Use the Settings option to set up push sync feature. You must configure your push address.
From the UA client application home screen, select the Settings option.
From the Settings screen, enter your push address, which is typically the e-mail address on which your BlackBerry receives e-mail (but could be an SMS phone number, or both).
On the AppInfo screen, determine how push synchronization notices should be handled, and select the option:
Sync immediately (focus will change from what you are doing, to the synchronization process)
Prompt for sync with a count-down timer on the prompt, and synchronize if the user does not explicitly cancel
Prompt for sync with a count-down time, but do not synchronize unless the user OKs the sync
Do not synchronize and do not prompt
You can identify applications waiting for synchronization
by a visual indicator.
Save the change.