1. Go to jde intalled directory and go inside simulator folder like (C:\Program Files\Research In Motion\BlackBerry JDE 4.5.0\simulator)
2. Now we need to add the batch file inside this folder.
3. Copy the simulator batch file from the simulator installed location like ( "C:\Program Files\Research In Motion\BlackBerry Smartphone Simulators 4.7.0\4.7.0.75 (9530-Verizon)\9530-Verizon.bat") and paste it to the simulator folder.
4. Now we need to edit the batch file that have pasted in simulator folder:
For example if we want to add 9530-Verizon.bat simulator we will find following text if we open the .bat file in edit mode.
@echo off
fledge.exe /title="Blackberry 9530 Simulator -Verizon" /app=Jvm.dll /handheld=9530 /session=9530 /app-param=DisableRegistration /app-param=JvmAlxConfigFile:9530-Verizon.xml /data-port=0x4d44 /data-port=0x4d4e /pin=0x2100000A
we need to edit the path of fledge.exe, Jvm.dll and 9530-Verizon.xml file like following:
@echo off
"C:\Program Files\Research In Motion\BlackBerry Smartphone Simulators 4.7.0\4.7.0.75 (9530-Verizon)\fledge.exe" /app="C:\Program Files\Research In Motion\BlackBerry Smartphone Simulators 4.7.0\4.7.0.75 (9530-Verizon)\Jvm.dll" /title="Blackberry 9530 Simulator -Verizon" /handheld=9530 /session=9530 /app-param=DisableRegistration /app-param=JvmAlxConfigFile:9530-Verizon.xml /data-port=0x4d44 /data-port=0x4d4e /pin=0x2100000A
Here we need to put the actual path of these above mentioned file where the simulator is actually installed.
5. Now double click the the batch file. If it runs the simulator then its ok.
Now you can easily got it added in your jde.
No comments:
Post a Comment