问题
I have downloaded & installed BlackBerry - Java Plug-in for Eclipse. It is launching default simulator (BlackBerry Bold 9930) when I try to run an application. But I want to run the application with another simulator (e.g. BlackBerry Torch 9800).
How should I switch to that simulator? Is there any configuration changes or any new installation required?
回答1:
If the desired simulator installed (e.g. Torch 9800), then it is possible to change the run configuration and make the simulator as default simulator. Following steps will show how to change run configuration.
- On the Run menu, click Run Configurations.
- Create new configuration (Image 1). On JRE tab, select a JRE (Image 2).
- In Projects tab select a project, and apply changes.
- In Simulator tab select a simulator (Image 3), and apply changes.
But If you don't have the simulator installed, check following article.
Specify a BlackBerry Smartphone Simulator that is installed outside of the Eclipse environment.
Change Run Configuration:
Image 1: Create New Configuration
Image 2: Select JRE
Image 3: Select Simulator
来源:https://stackoverflow.com/questions/10299648/how-to-set-different-simulator-in-blackberry-java-plug-in-for-eclipse