Thursday, March 5, 2009

How To - Use a computer file system as a microSD card


BlackBerry JDE 4.3.0 and later

To use a computer file system as a microSD card, complete the following steps:

  1. Open the BlackBerry JDE.
  2. From the Edit menu, click Preferences.
  3. On the Simulator tab, select a simulator running BlackBerry® Device Software 4.3.x.
  4. On the Simulator tab, click Memory.
  5. Select the Use PC filesystem for SD Card files check box.
  6. Type the location of the folder to use as a microSD card.

Note: Using the Browse button to select the location of the folder to use as a microSD card in BlackBerry JDE only allows selection of a file and not a folder; the location must be corrected manually to represent a folder.

  1. Click OK.

Eclipse

Note: The BlackBerry JDE Plug-in for Eclipse is required.

To use a computer file system as a microSD card, complete the following steps:

  1. Open Eclipse.
  2. Click the arrow beside the Debug as button.
  3. Click Open Debug Dialog.
  4. Click an entry under BlackBerry Simulator.
  5. On the Simulator tab, click Memory.
  6. Select the Use PC filesystem for SD Card files check box.
  7. Type the location of the folder to use as a microSD card.
  8. Click OK.

1 comment:

  1. Hi Rakesh,
    Thanks for the help above.
    I am running BB JDE 4.3.0 and my MIDlet shows up on the Simulator with no error, but when I enter some text, the text file is not created and saved. I appreciate if you can provide an example, a simple MIDlet that works.

    ReplyDelete

Place your comments here...