当前位置: 动力学知识库 > 问答 > 编程问答 >

java me - RMS opened for full cycle

问题描述:

Midlet starting open one RMS and store some data in it and through out each page I am using RMS for getting data.

Now I am using same open RMS for each page. Is this is efficient or I need to close and open when it use?

网友答案:

It depends what you mean by page. If your RMS is available for several midlets and page = once midlet, then you should close store with destroying app. I think you think about page as screen. Then you must open RMS with first screen and close it with last.

分享给朋友:
您可能感兴趣的文章:
随机阅读: