Use a computer file system as a microSD card

by Retired on ‎02-17-2010 01:49 PM - edited on ‎04-10-2012 02:00 PM by Retired (7,099 Views)

Summary

 

 

This article applies to the following:

 

  • BlackBerry® Java® Development Environment (BlackBerry JDE) 4.3.0 and later
  • BlackBerry® JDE Plug-in for Eclipse™
  • Eclipse

Details

 

 

BlackBerry JDE 4.3.0 and later

 

 

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

 

  • Open the BlackBerry JDE.
  • From the Edit menu, click Preferences.
  • On the Simulator tab, select a simulator running BlackBerry® Device Software 4.3.x.
  • On the Simulator tab, click Memory.
  • Select the Use PC filesystem for SD Card files check box.
  • 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.

     

     

  • 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:

 

  • Open Eclipse.
  • Click the arrow beside the Debug as button.
  • Click Debug Configurations....
  • Click an entry under BlackBerry Simulator.
  • On the Simulator tab, click Memory.
  • Select the Use PC filesystem for SD Card files check box.
  • Browse to or type the location of the folder to use as a microSD card.
  • Click Apply.
     

original.jpg 

 

Command Line

 

 

 

When invoking the BlackBerry Device Simulator from the command line, add the following:

 

 

 

 

 

/fs-sdcard=true /fs-sdcard-root="C:\Dev Environment\Simulators\BB Handheld Simulator\sd card\BlackBerry"

 

 

 

 

The following is an example for the BlackBerry® Pearl™ 8120 smartphone:

 

 

 

 

 

"C:\Program Files\Research In Motion\BlackBerry JDE 4.3.0\simulator\fledge.exe" /app="\Program Files\Research In Motion\BlackBerry JDE 4.3.0\simulator\Jvm.dll" /session=8120 /app-param=DisableRegistration /app-param=JvmAlxConfigFile:8120.xml /data-port=0x4d44 /data-port=0x4d4e /pin=0x2100000A /fs-sdcard=true /fs-sdcard-root="C:\Dev 
Environment\Simulators\BB Handheld Simulator\sd card\BlackBerry" /handheld=8120