03-11-2009 10:03 AM
Hi, i'm stuck with a little issue that makes me restart the simulator each time I recompile & copy .cod, etc files to the simulator directory in order to recognize the new version, otherwise the old one is launched. Not a big deal but it's kind of annoying having to restart the simulator everytime I made a change to the application.
03-11-2009 10:08 AM
A quick search of these forums for "restart simulator" yielded the following results for me:
03-11-2009 10:09 AM
03-11-2009 12:09 PM
Do you know about javaloader?
I can reload my apps without restarting the simulator.
Just simulate the usb connected in simulator, and then I execute this in the command line
javaloader -u load <name-of-app>.cod (or jad)
03-11-2009 12:20 PM
03-11-2009 12:21 PM - edited 03-11-2009 12:24 PM
I haven't played with the Java loader (yet) but so far I have just been doing Run As\BlackBerry Simulator which seems to build and move the files, then in the simulator I load java program. This works most of the time, but rarely it seems to start another instance of the simulator.
03-11-2009 04:40 PM
Make sure you are actually compiling the application into a cod file. This happens automatically when you run the simulator. You can trigger it manually by hitting "alt-b". You should then be able to load it with the "File -> Load Java Program" option.
03-11-2009 04:57 PM - edited 03-11-2009 05:59 PM
ah OK, that sounds like the step I'm missing. What does Alt+B do, and where would I find that manually in the menu?
edit: I just did an Alt+B and then Load Java Program in the simulator. Still doesn't work...
03-17-2009 11:20 AM
The Alt + B shortcut for "Build Active BlackBerry Configuration" found under the Project menu of Eclipse.
The recommended approach is to restart the BlackBerry Simulator. You can see when this is required here:
What Is - The reason a reset is required when upgrading an application
Article Number: DB-00602
To support debugging, the cod and debug files should also be present in the BlackBerry Simulator directory.