in.use file

13 May 2008

A lot of J2ME developers face problems when running multiple instance of Nokia Wireless Toolkit emulators. Some of the problems are linked with in.use file. This post is all about that.

When your run the emulator, a file named in.use is created in the emulator’s root directory with will be something like:

..\j2mewtk\2.5.2\appdb\DefaultColorPhone\

This file is removed when the emulator shuts down.

This emulator’s default directory will also contain folders like filesystem and pim. The record store files (with .db extensions) are also present in the mentioned directory. While your emulator is running, you may want to run another instance of emulator. This makes sense if you are testing some thing. In that case, your emulator may not be able to use the default folder which contains the filesystem, pim and record stores that you wish to use. A temporary folder with temporary resources is created to serve the need. This in only because in.use file is present in the default path which is:
..\j2mewtk\2.5.2\appdb\DefaultColorPhone\

Sometimes due to some error or due to improper shutdown of the emulator, the in.use file is not removed form the emulator’s root directory. This prevents you from using the emulator’s default resources. You then have to remove in.use your self.

Hope this helps.

del.icio.us:in.use file  digg:in.use file  spurl:in.use file  wists:in.use file  simpy:in.use file  newsvine:in.use file  blinklist:in.use file  furl:in.use file  reddit:in.use file  fark:in.use file  blogmarks:in.use file  Y!:in.use file  smarking:in.use file  magnolia:in.use file  segnalo:in.use file  gifttagging:in.use file

Top Of Page | Trackback

If you found this page useful, consider linking to it. Simply copy and paste the code below into your web site.

It will look like this: in.use file

Leave a Reply