本文介绍了可用的RecordStore大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在Midlet中获取Recordstore
可用的ROM的总大小?
How can I get the total ROM memory size available for Recordstore
in a midlet ?
推荐答案
您可以尝试创建一个空的记录存储,并使用RecordStore.getSizeAvailable()和RecordStore.getSize()方法确定单个记录的总最大大小店铺.从经验来看,大多数设备不会限制您的应用程序可以创建的记录存储数量.
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.
这篇关于可用的RecordStore大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!