Developing Flash Lite 2.x and 3.0 Applications

Upload applications to a BREW 2.x device

The following instructions explain how to upload a Flash Lite application for BREW to a Samsung SCH-A950, which includes the BREW version 2.x platform.

This procedure assumes that you have already installed the appropriate USB drivers for your device on your computer. For more information, see Setting up your system for BREW.

This procedure also assumes that you have already uploaded the required Flash Lite Extension and Flash Lite player files to the device. This needs to be done only once, when you first begin using the device. For more information, see Uploading Flash Lite Extension files to the device (first use only).

  1. Use the data cable that the handset manufacturer provides to attach the handset to a COM port on the computer on which your BREW application files are stored.
  2. Navigate to the folder that contains your application files and verify that the directory structure is correct for your target device.

    For complete information about the structure for BREW 2.x devices, see Device file structures for different BREW versions.

  3. Select Start > Programs > BREW Tools Suite <latest version> > BREW Apploader to start the AppLoader tool. The AppLoader tool displays a connection window.
  4. Select the number of the COM port your device is connected to (if you are unsure what port to select, see the following note), select 2.x as the BREW version for your device, and then click OK to connect to the device.

    NOTE

     

    You can find the COM port your device is connected to in the Windows Device Manager by looking at the properties of the port that corresponds to the installed device. If you always connect the same device model to the same COM port, this number does not change. Because it changes when you use a different device model, you should always check the COM port number when you connect a new device model.

    After you are connected, the AppLoader tool displays the device's BREW file system.

  5. To upload your application files (MOD, SIG, and resource files) to the handset, do one of the following:
    • Select File > Directory > New Directory to create a folder with the same name as your application, and then copy your application files to it. See Device file structures for different BREW versions for details.
    • Drag your application folder from the Windows Explorer to the AppLoader window.
  6. Restart the device.

    The device must be restarted before you can run your application.To restart the device, do one of the following:

    • Select Device > Reset from the BREW AppLoader menu.
    • Press and hold the End key on the handset.
  7. Navigate to Get It Now > Get Going and select the name of your application to start it in the BREW environment.