Generating Code for a Mobile Workflow Package

Generate a Mobile Workflow package and deploy it to Unwired Server to make it available to device clients.

Prerequisites
Complete these tasks:
Task
Use the Mobile Workflow Package Generation wizard to generate files for the mobile workflow package, optionally deploy the generated package files to the server, and assign the package to one or more devices.
  1. Open Sybase Unwired Workspace.
  2. In the WorkSpace Navigator, expand MobileWorkflow101 and double-click travelrequest.xbw.
    The package file opens in the Mobile Workflow Forms Editor.
  3. In the Sybase Unwired Workspace toolbar, click the generate_device_client_code Mobile Workflow package wizard button.
  4. In the New Mobile Workflow Package Generation wizard, select these options:
    Option Description
    Favorite configurations (Optional) Select a configuration.
    PackageGeneration and Deployment
    Generate Select Generate into the project.
    Unwired Server Profile Select My Unwired Server as the profile to associate with the mobile workflow package.
    Deploy to an Unwired Server Deploy the mobile workflow package to an Unwired Server.
    Assign workflow to users Select this option and click Get Users. Then enter or more users (separated with commas) for whom devices have been registered.

    mobileworkflowpkggenwizard
  5. Click Finish.
    The WorkSpace assigns the TravelRequest application to the user and generates the files for the mobile workflow package in a zip archive on the server. You can see the files in your project the the Workspace Navigator:
    mwf_travelrequest_generated_code

    If the package is not displayed initially, double-click the server to refresh the display.

    The mobile workflow package is added to the Enterprise Explorer under the Unwired Servers/Workflows folder.
    mwf_tutorial_deployed_workflow
Related tasks
Configuring the Android Emulator
Configuring the Windows Mobile Emulator
Building the Mobile Workflow Container Using the Provided Source Code