运行 BlackBerry Java 开发环境中的应用程序
- 在 BlackBerry JDE 中,单击Edit > Preferences。
- 创建一个新的模拟器配置文件,然后键入名字。
- 在Simulator选项卡中,单击General。
- 在Device下拉列表中,选择一台模拟器(例如:SimPackage-6.0.0.313_9800-9800)。
- 单击Advanced选项卡:
- 选中Use Customized command options复选框。
- 在Customized command line框中,键入sim1.bat文件的参数。 例如: "C:\Program Files\Research In Motion\BlackBerry Smartphone Simulators 6.0.0\6.0.0.313 (9800)\fledge.exe" /handheld=9800 /app-param=JvmAlxConfigFile:9800.xml /pin=0x2100000A /data-port=0x4d44 /data-port=0x4d4e /session=9800 /app="C:\Program Files\Research In Motion\BlackBerry Smartphone Simulators 6.0.0\6.0.0.313 (9800)\Jvm.dll" /app=Jvm.dll /handheld=9800 /session=Sim1 /app-param=JvmAlxConfigFile:9800.xml /data-port=0x4d44 /data-port=0x4d4e /pin=0x2100000A /app-param=regVersion=3 /app-param=regDestIP=127.0.0.1 /app-param=regDestPort=19781 /app-param=regSrcPort=19780 /app-param=DisableSyncServiceRecord /title="BlackBerry 9800-1 Simulator"
- 在Customized working directory框中,键入模拟器数据包的安装目录的路径。
- 在Customized MDS directory框中,键入 MDS 数据包的安装目录的路径。
- 单击 OK。
- 单击 Run。
这些信息有用吗?给我们发送您的意见。