I don't think the changes you make in the Netbeans emulator will have an affect on the mobile. The RMS store is designed to be device dependent storage area and beyond the API classes that's out of your hands to access and control in the Mobile.
Though I seem to remember that the FileConnection API part of jsr 75, part of MSA, might help in accessing the file system on the mobile. But the MIDlet may need to be signed or have set a request to access the API's file access permission (In your projects properties go to: Application Descriptor > API Permissions tab > Add button).
As for Netbeans, If you want to mount a fake storage device for testing then Run your project to open the emulator and at least in the DefaultCldcMsaPhone there is an external events generator: Device menu > FileConnection > Mount Copy button. It lets you choose a folder on your computer to act as a storage device for testing purposes of jsr 75.
Walter Gabrielsen Iii, this was not my question, my question was, there are too many API available, which API should i select.? And, in you last reply, you told Project properties > Platform > "File Connection and PIM Optional Packages.". But, in my case, it was already selected.
You can't alter the RMS on the mobile phone in any way beyond the methods in javax.microedition.rms package. You can't change its file location or even access the storage area where the files are stored from outside the MIDlet.
If you aren't entering data into the RMS then it will be empty. You can't Load it up or replace the RMS with another preset default RMS file unless you do so using the methods provided in the javax.microedition.rms package.
If you uninstall the MIDlet then you'll loose access to the RMS (it's erased). If you install the MIDlet it will be assigned a new empty RMS storage space. If you want to access the RMS store of another MIDlet its record store would have had to have been created specifically with the "AUTHMODE_ANY" Authorization mode from the other MIDlet.
If this is for Netbeans only, I don't know how to keep a record store around in the emulator between runs. Maybe if you use the install it on the emulator using the OTA (Over the Air Provisioning) option instead of the default run mode:
Project Properties > Running > "Execute through OTA (Over the Air Provisioning)"
He was expelled for perverse baking experiments. This tiny ad is a model student:
Free, earth friendly heat - from the CodeRanch trailboss