Developing Flash Lite 2.x and 3.0 Applications

Device file structures for different BREW versions

Devices that support BREW 2.x and BREW 3.x have different file structures. It is important to understand these differences before you use the BREW Publisher wizard to specify your BREW application's file structure.

The file system on BREW 2.x devices is structured as follows:

  • All application folders are stored in the root folder, called brew/.
  • Application files (including SIG files) are stored in the application folder (subfolders are not allowed).
  • MIF files are stored in the root folder, brew/.
  • Shared media, such as images and BAR files are stored in the brew/shared folder. You can also store shared media in the folder that contains the main application files.

    Example:

    brew/appname/appname.mod

    brew/appname/appname.sig

    brew/appname.mif

    brew/shared/media.xxx, where xxx is the extension of any resource files, including graphics, video, sound, and BAR files

    or

    brew/appname/media.xxx, where xxx is the extension of any resource files, including graphics, video, sound, and BAR files

The file system on BREW 3.x devices is structured as follows:

  • All application directories are stored in the brew/mod folder.
  • Application files (including SIG files) are stored in the application folder (subfolders are not allowed).
  • MIF files are stored in the brew/mif folder.
  • You can store shared media, such as images and BAR files, in the brew/shared folder. You can also store shared media in the folder that contains the main application files.

    Example:

    brew/mod/appname/appname.mod

    brew/mod/appname/appname.sig

    brew/mif/appname.mif

    brew/shared/media.xxx, where xxx is the extension of any resource files, including graphics, video, sound and BAR files

    or

    brew/mod/appname/media.xxx, where xxx is the extension of any resource files, including graphics, video, sound, and BAR files