开发者

J2ME RMS Read/Write

开发者 https://www.devze.com 2023-01-12 10:54 出处:网络
I am creating a J2ME application.in which i have created a record an h开发者_C百科ave to access it frequently every time updating its value.But every time i run my application it creates the record ag

I am creating a J2ME application.in which i have created a record an h开发者_C百科ave to access it frequently every time updating its value.But every time i run my application it creates the record again an again as i have written the creation code of record in startApp().I couldn't get where to define the creation code so dat next time i access record i should get updated value ? the updation thing is defined in Commandlistener.


Write a method which creates the record and another one which reads from the record store. Call the method that creates the record only if no record exists.

0

精彩评论

暂无评论...
验证码 换一张
取 消