Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
New Developer
New Developer
Jun
Posts: 1
Registered: ‎10-29-2009
My Device: Not Specified

Is multiple simulator instances allowed?

Hi,

 

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.

Please use plain text.
Developer
abarber
Posts: 189
Registered: ‎08-13-2008
My Device: Not Specified

Re: Is multiple simulator instances allowed?

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\5.0.0.252 (9500)

 

I would also love to hear from anyone who has run multiple simulators on a machine.

 

cheers

 

Andrew

Please use plain text.
BlackBerry Development Advisor
ebourne
Posts: 7
Registered: ‎07-11-2008
My Device: Not Specified

Re: Is multiple simulator instances allowed?

Here is the piece your missing from the MDS simulator  "rimpublic.property" file:

 

[Simulator]

#[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>

Simulator.2100000a=MDS,simulator@pushme.com

Simulator.2100000b=MDS,user2100000b@pushme.com

Simulator.2100000c=MDS,user2100000c@pushme.com

Simulator.2100000d=MDS,user2100000d@pushme.com

Simulator.2100000e=MDS,user2100000e@pushme.com

Simulator.2100000f=MDS,user2100000f@pushme.com

 

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.

 

cheers

ed

 

 

Please use plain text.
Developer
abarber
Posts: 189
Registered: ‎08-13-2008
My Device: Not Specified

Re: Is multiple simulator instances allowed?

thanks you very much Ed

 

Cheers

 

Andrew

Please use plain text.