10-29-2009 09:28 AM
I am just new to blackberry simulator test. I want to test some push application built by ourselves, so I want to use multiple simulator instances running at the same time. Do we actually support this? If yes, how to change the PIN for each simulator instance? Can we just do this without BB JDE? I mean do we have settings for stand alone simulator such as 9000-T-MobileEU?
Can anybody help to take a look? Thanks a lot.
10-29-2009 11:11 PM
I tried this a while back and got nowhere.
You can change the PIN for each blackbery in the .bat file for the simulator found in the simulators folder e.g. C:\Program Files\Research In Motion\BlackBerry Smartphone Simulators 5.0.0\220.127.116.11 (9500)
I would also love to hear from anyone who has run multiple simulators on a machine.
10-30-2009 05:08 PM
Here is the piece your missing from the MDS simulator "rimpublic.property" file:
#[CDK_MODIFICATIONS for Running Multiple Simulators]
# Each simulator instance must have a unique IPPP port assignment
# ie. Simulator fledge.exe command lines must have:
# /ignore-data-port-conflicts /app-param=IPPPSourcePort: <port>
Which means, you have to give each simulator its own PIN and IPPSourcePort at a minimum.
I started up an 8820 simulator running 4.5, then when into the the Bold simulator folder and edited the 9000.bat file so it read like this:
fledge.exe /title="Blackberry 9000 Simulator " /app=Jvm.dll /handheld=9000 /session=9000 /app-param=DisableRegistration /app-param=JvmAlxConfigFile:9000.xml /data-port=0x4d44 /data-port=0x4d4e /pin=0x2100001B /ignore-data-port-conflicts /app-param=IPPPSourcePort:25601 /JvmDisableBacklightTimeout
Note: added changed the pin from 2100001A to 2100001B, and added /ignore-data-port-conflicts /app-param=IPPPSourcePort:25601
I was then able to web surf via MDS from the 8820 simulator to google.com and from the Bold simulator to cnn.com, while both were running.