Device packs

If you are an authenticated BREW developer, you can download device-specific device packs for the devices you are targeting from the Developer Resources area of the BREW website. The device pack for the Simulator may not exactly match your actual device. For example, the Samsung SCH-A950 device pack shows a BACK key, which is labeled as CLR on the actual device. Also, the device pack for the LG VX9800 does not support key input from the alphabetic keys on the keyboard, although the actual device does. Contact QUALCOMM for more information about specific device packs, updates, or issues.

If you are not an authenticated BREW developer, you can use the default device packs that are included with the SDK download. However, because these default device packs have less memory than the device-specific ones, you may need to select the device pack with the most memory (Device Pack 3 at this writing), or increase the memory to approximately 10,000,000 bytes to avoid performance issues and errors.

To increase the memory for a single Simulator session:

  1. Open the Simulator and select the Device Details tab.
  2. Scroll to the Memory section.
  3. Increase the value for Heap Size (bytes). Note that this value is called RAM Size in some versions of the Simulator.

To make the memory increase persist across Simulator sessions:

  1. Use a text editor to open the DSD file for the device pack you want to use (devicepack<x>.dsd, where x is the device pack number.)
  2. Locate the appropriate setting and increase the value of Text:
    <String Id="24" Name="IDS_DD_HW_RAM_SIZE">
            <Text>1048576</Text>
    
  3. Save and close the file.

You may also encounter difficulties using the Simulator if the space allocated to the Examples folder and all of its subfolders is insufficient to allow your application to function properly. You can either delete unnecessary files from these folders manually, or increase the amount of space allocated for these files.

To make the Examples file size increase persist across Simulator sessions:

  1. Use a text editor to open the configuration file and edit the appropriate value:
  2. Save and close the file.

Flash CS3