I'm trying to write an application with J2ME that uses javax.microedition.rms.RecordStore to store persistent data. I'm developing this project in NetBeans 6.0 and J2ME 2.2 on Gentoo. When I try to run the project, I get an error because apparently the record store can't be created. Here's a sample of output including the stack trace:
j...
I'm building a mobile app with J2ME, and I've found that the data I write into a RecordStore can be accessed while the program is still running but it is lost after quitting and restarting it. No exception is thrown, the data is simply lost.
UPDATE: Thanks everyone for your suggestions. I'm using NetBeans on Windows 7. I'm not sure if i...
Hello there,
I'm creating an application that installs 3 Record Stores for the first run. Then on it has to work with the already installed values. The application works fine during the first run both in the emulator and in a mobile. But the second time run shows a null pointer exception after my splash screen loads. After the splash scr...
Can I edit the stored values of a RecordStore manually? If so, which programs do i need, or JVM stores those data in a file without any encryption?
Any help or advice will be appreciated.
...
Given that Java ME allows for no reflection and is quite stripped down, what would a good approach to storing data in a RecordStore be? I thought of devising a JSON-like syntax adapter class which would probably require every class whose values are to be stored to implement a Hashtable + might probably require an additional regex library...
Hello everyone!
I'm developing a small J2ME application that displays bus stops timetables - they are stored as records in MIDP RecordStores.
Sometimes records can not fit a single RecordStore, especially on record update - using setRecord method - a RecordStoreFullException occurs. I catch the exception, and try to write the record to...
Hi,
I am currently doing some J2ME development. I am having a problem in that a user can add and remove elements to the record store, and if a record gets deleted, then that record is left empty and the others don't move up one. I'm trying to come up with a loop that will check if a record has anything in it (incase it has been deleted)...
Hello,
I am currently doing a bit of j2me development and I am using the Samsung SDK as the emulator. The problem I am having is to do with RecordStores (RMS). At first everything was working fine and I could create/delete/edit RecordStores as I wanted. Now, for some reason whenever I try to create a new RecordStore, I get the following...
Hi,
I was wondering if it is possible in j2me to have 2 or more recordStores open at the same time. I basically want to be able to add/remove records from 2 different recordStores in the same execution of the code. Is this possible?
If so, how would you do it? At the top of the class, you do something like 'private RecordStore rs;' wou...
I'm using the Samsung SDK 1.2.0 Beta in Netbeans 6.8. I'm trying to test my midlet for accessing the record store management system.
This statement
RecordStore rs = RecordStore.openRecordStore("Store", true);
runs fine when I'm using the Nokia SDK but it throws a RecordStoreException when I used it on Samsung.
...
Is there any form to get the data of the recordstore from an external middlet?
Thanks in advance
...
How can I get the total ROM memory size available for recordstore in a midlet?
thanks in advance
...