tags:

views:

17

answers:

1

Hello frenz,
I m 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 appl it creates the record agen an agen as i have written the creation code of record in startApp().I cudnt get wer to define the creation code so dat next time i access record i shud get updated value??? the updation thing is defined in Commandlistener.Pliz help

A: 

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