Taking the first steps with MicroEmulator
Workaround for MicroEmulator freezing with jad/class as argument
|
I have plans to create a little mobile application using a GPS to record location data. Unfortunately, the Sun Wireless Toolkit bluetooth (JSR-82) implementation one can download with NetBeans isn't supporting connecting to real devices. A short hunt for an alternative JSR-82 implementation gave BlueCove. And BlueCove led me to a mobile emulator written completely in Java called MicroEmulator. Very nice indeed. Running the demo Mobile GMaps from the BlueCove example page worked like a charm and my GPS connected to my windows machine was found without problems. |
|
Unfortunately, when I tried to start MicroEmulator from the command line locally it refused to take a jad file (or class) as argument. Starting the emulator and dragging a jad file into it worked as it should. But running with an argument froze it at startup.
I tried a couple of different things, but couldn't figure out what the problem was. So I sent a mail to the MicroEmulator user mailinglist. It didn't take long for Vlad to respond with a solution. As it turns out there is a problem with starting the emulator with the log window configured to automaticly open itself. This is set in the
I'm sure this will be fixed in the next release. In the meantime the easy workaround is to close the log window first and remove the element from the configuration file if it's present.