Available RecordStore size

2019-08-11 09:19发布

问题:

How can I get the total ROM memory size available for Recordstore in a midlet ?

回答1:

You can try creating an empty record store and using the methods RecordStore.getSizeAvailable() and RecordStore.getSize() to determine the total maximum size of a single record store. From experience most devices don't put a restriction on the number of record stores your application can create.