質問

I had question, is it possible to store RMS to Memory card? Since we use large amount data to store in RMS. Is there any alternative way?

I want to know how RMS memory is calculated?

役に立ちましたか?

解決

I want to know how RMS memory is calculated

API for above is RecordStore#getSizeAvailable(), see method javadocs:

...Returns the amount of additional room (in bytes) available for this record store to grow. Note that this is not necessarily the amount of extra MIDlet-level data which can be stored, as implementations may store additional data structures with each record to support integration with native applications, synchronization, etc.

他のヒント

To get Total memory size

Runtime.getRuntime().totalMemory()

To get free memory size

Runtime.getRuntime().freeMemory()

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top