Copying Unwired Platform Files to the Sample Project

Copy Unwired Platform BlackBerry runtime files and generated object API code to the SUP101Sample project. You had created the code previously in the Generate Code wizard.

  1. In Windows Explorer, browse to <UnwiredPlatform_InstallDir>\UnwiredPlatform\MobileSDK213\ObjectAPI\BB.
  2. Copy these files: CommonClientLib.cod, MessagingClientLib.cod, MocaClientLib.cod, sup_client2.cod, and UltraLiteJ12.cod.
  3. Paste the copied COD files into the BlackBerry Java Plug-in simulator directory, located in <BlackBerry_Eclipse_InstallDir>\plugins\net.rim.ejde.componentpack<version>\components\simulator.
  4. In Windows Explorer, go to the workspace folder you set for Sybase Unwired WorkSpace, and copy the generated code files.
    For example, go to C:\Documents and Settings\user1\SUP-wksp\SUP101\Generated Code\src and copy the SUP101 folder.
  5. In the BlackBerry Application Development workspace, go to the SUP101Sample project and paste the folder into the src directory.
    For example, go to C:\Documents and Settings\user1\BB-wksp\SUP101Sample\src and paste the SUP101 folder.
    In Package Explorer, under the SUP101Sample/src folder, you see the SUP101 and SUP101.intrnl folders.

    If the copied folders do not appear, click Refresh or press F5.