2

I'm developing a mobile application in Netbeans, but I'm running into problems when testing communication using SMS. In order to test this, I obviously need two emulators running, which I'm aware should be as easy as running the project twice, but on Mac OSX I'm given the error "MIDlet suite is already running.".

I've tried to research this problem as best as possible, but there isn;t a lot of information on it available online. The best I've found this another Stack Overflow question with the same problem that never got a satisfactory answer, so I'm asking again in the hope that someone will have a better idea of how to deal with this by now.

Community
  • 1
  • 1
Jim
  • 713
  • 1
  • 6
  • 23

2 Answers2

2

In NetBeans, you must change the main project before starting the second one: Run/Set main project/... then the second project will start in the same emulator window as the first one. You will be able to switch between the running midlets in the emulator.

Furthermore, if you change the project configuration (phone model) before starting the second project, you will get two emulator windows with different phone numbers.

Robot Monk
  • 107
  • 1
  • 7
2

Getting two emulators to run at the same time in NetBeans:

Run your application with one run configuration,

i.e. Default CldcPhone1, and then change the configuration, either at the project settings.

Or next to the run button, and set up to another emulator, Ie. Default CldcPhone1 and run again.

The two emulators will run together simultaneously, and you can interact between them.

Echilon
  • 10,064
  • 33
  • 131
  • 217
iSimply
  • 49
  • 9