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.