When you are developing a BlackBerry application it is easier to test on a simulator than your actual phone. Here is a quick and easy guide on how to get up and running.
Step 1: Install the simulator
Blackberry simulators are on BlackBerry.com:
http://na.blackberry.com/eng/developers/resources/simulators.jsp
I have a Perl so I like to install version 4.3.0 [Pearl]. Any version above 4.3 should work, except the storm as the UI is different.
Step 2: Create an SDCard folder
Create a folder somewhere on your PC and name it SDCard (Example: C:SDCard ). The name does not matter I’m just using it as an example.
Step 3: Share the folder
You now want to share the folder using Windows sharing. This will allow you to map the folder to a network drive. Once the folder is mapped to a network drive you will be able to use the SDCard as if it where actually plugged in to your usb. This allows easy testing with external applications that interact with your SDCard.
Step 4: Simulate the SDCard
We now need to tell the simulator where to find the folder it is to use for the SDCard.
Open (edit in notepad) the blackbery batch file located here:
C:Program FilesResearch In MotionBlackBerry Smartphone Simulators 4.3.04.3.0.97 (8130-USCC)
and named 8130-USCC
On Windows Vista you will have to save the file somewhere else then overwrite as administrator. (Man I hate windows they should have added some sort of SUDO).
Add the following to the end of the first line in the batch file:
/fs-sdcard-root=C:SDCard /fs-sdcard=true
That’s It! Your all ready to go
Start your emulator. (From either the batch file or your start menu)












Leave Your Response