J2ME RMS - Best practice for opening/closing record store?
问题 My midlet uses two record stores. Currently, I create/open both record stores when the app starts and I leave them both open for the entire lifetime of the app. If I open/close the record store after each operation (e.g., reading or writing) the delays are really bad in the emulator. Similarly, if I close the recordstores when the app exits, there is another very long delay. So is it OK for me to never close the record stores in my code (thereby, presuming the device will do this itself when