Home

Noppanit

11 Aug 2010

Tutorial : J2ME and Netbeans : How to test RecordStore with emulator

I’m using Netbeans 6.9 and implementing RecordStore and I want to test that with emulator. How would I do that? because every time I close the emulator, the state will be deleted or gone in some way.

This is my way of doing that. Basically, you just have to actually install the application in the emulator and when you exit the application you can enter the application again. Just like in a real phone.

So, you just have to use OTA install.

In Netbeans 6.9.

  1. right click on your project and click “properties”
  2. In running click at “Execute through OTA (Over the air provisioning)”.
  3. That’s it, so when you start the application, it will be actually installed inside emulator and you can close and open the application anytime you want.

Til next time,
noppanit at 00:00

scribble