Hi
In the device specification, there is a section for: shared memory for storage.
Is this the same as the persistant storage that is mentioned with regards to the Record Store?
Thanks
Alex
Hi
In the device specification, there is a section for: shared memory for storage.
Is this the same as the persistant storage that is mentioned with regards to the Record Store?
Thanks
Alex
Hi
I think they aren't same.
Regards
Chandu
Thanks for your reply. Is there a way to store data in the shared storage area that can be accessed by a MIDlet?
Thanks
Alex
aed02
In the device specification, there is a section for: shared memory for storage.
Is this the same as the persistant storage that is mentioned with regards to the Record Store?
You need to add details. It can be total memory for storing MIDlets or it can be RMS space.
However, I thought that RMS limit is usually per MIDlet, not shared..
Make simple check:
MIDlet storage space should be something like 200Kb-some MB
RMS space is usually less 100KB
Some devices use only one area of memory, and share dynamically between different requirments, like heap, RMS, jar storage and so on. Others may permanently allocate separate areas of memory for each use. I think the former is what "shared memory" refers to. There is no "shared memory" in the sense of being able to share data between midlets. RMS is the only means of storing information persistently, and RMS recordstores are local to each midlet-suite, and cannot be shared.
Graham.
Thanks for your reply - so to clarify:
If the device spec for a phone (eg. Nokia 6100) says:
heap size: up to 200kB
shared memory for storage: up to 725kB
max jar file size: up to 64kB
This means - my application and resource files have to be under 64kB. I can't tap into that 725kb at all?
Thanks
Alex
aed02
This means that you can download to the phone as many MIDlets as you want while their total size (+ their RMS databases) is less then 725 kbs.
This means - my application and resource files have to be under 64kB
Yes. Actually it can be even a bit less. Something like 63Kb + some bytes.