I am creating a J2ME application.in which i have created a record an have 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
.
Asked
Active
Viewed 408 times
0

Lucifer
- 29,392
- 25
- 90
- 143
-
Any updates with your problem? – jean27 Jun 28 '11 at 03:36
1 Answers
1
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.

jean27
- 701
- 8
- 25