Working with the PC file system

The SDK duplicates part of the phone’s file system on your computer. This allows you to pre-install content into the SDK when you start it and to observe how the SDK changes files.

The instance directory

The first time you create a new SDK instance, the SDK creates a directory for that instance (the instance directory) at SDK installation directory>\bin\Storage\<instance identifier>

As the SDK starts, it copies any files in the instance directory to phone’s file system. When the SDK is running, you can use the SDK display to access these files on the phone’s file system.

Within the instance directory, the C directory corresponds to the phone’s file system and the E directory corresponds to its memory card. Within the C directory

  • The predefgallery directory corresponds to the part of the phone’s file system used to store audio and image files. To view these files, select Menu > Apps > Gallery in the SDK display.

  • The predefjava directory corresponds to the directory used to store Java applications. To view these files, select Menu > Apps in the SDK display.

After you create an SDK instance, you can modify the contents of the instance directory using the SDK window or the Windows tools on the computer

  • If you modify the content of the phone’s file system using the SDK display, the SDK immediately duplicates the modification in the instance directory on your computer.

  • If you modify the files in the instance directory using the Windows tools, the modifications only become visible in the SDK display the next time you start that SDK instance. The SDK instance reads the contents of the instance directory only at startup.

The E directory corresponds to the part of the phone’s file system that accesses the memory card. To view these files, select Menu > Apps > Gallery > Memory cardin the SDK display. If you simulate removing the memory card (see Emulating a memory card), the SDK does not remove the files in the E directory on your computer, but they are no longer accessible to the SDK instance.

The contents of an instance directory are accessible only to an SDK instance with a matching instance identifier. If you start an SDK instance using an identifier that corresponds to an existing instance directory, the SDK instance uses that existing directory.