问题
Has anybody got the BB simulator and MDS simulator to work?
I have the MDS installed and 4 BB phone sim's. For some reason, when I first install the BB sim it might work and then it will stop working.
Has anybody had this issue and know how to fix it?
回答1:
The first time I used both, BlackBerry JDE 6.0.0 and its version of MDS-CS, it worked very well. After a couple of simulator reloads to test a Browser-Push application, the 9800 simulator stopped connecting with the Mobile Device Service Simulator. All rules are important, but in my case, rule #3 allowed me to connect the simulator's internet browser after deactivating the WiFi connection
MDS should be running before you start the simulator; and it listens on port 8080, so make sure nothing else is listening on that port before you start it.
The simulator seems to pick up the MDS location from the
rimpublic.property
file (underMDS/config
), which is part of the MDS install, andrimpublic.property
needs to have the machine's fully qualified host name in it, notlocalhost
.If you've started your simulator without the MDS running, you will need to remove the .dmp files in [installroot]/[phonemodel]. This problem often happens with BlackBerry JDE version 6.0.0.
These rules seem to have work for me so far.
回答2:
Well, there are several common mistakes when using MDS simulator with BlackBerry Simulator.
- If you're opening network http connections you need to add "deviceside=false" parameter to your urls
- In case you're behind proxy, you have to add several configuration parameters to enable MDS Simulator check them out here
回答3:
I just spent 2 days trying various of the tips online about MDS (and there are many) but none helped me.
For me, the solution was to turn off network registration upon simulator launch in eclipse.
Edit: this has helped in some situations, but MDS still not always stable.
(posted in case someone with my problem googles to this page)
来源:https://stackoverflow.com/questions/1455760/blackberry-simulator-and-mds