--
You received this message because you are subscribed to the Google Groups "Cinterion Java enabled chips support" group.
To post to this group, send email to java...@googlegroups.com.
To unsubscribe from this group, send email to javacint+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/javacint?hl=en.
I thought that you could only use files as persistant storage if there
was an add-on memory card. I may have misunderstood this as I think it
was within a j2me book and not specific to the cinterion module.
It's nice to be in a business where you can still learn something new
every day!
This might be useful to us as we have found that the RMS can corrupt
and, if so, there is no exception to handle the error, the program
just stops dead. We have reported this to Cinterion with sample code
and corrupted database records and they are looking at the matter.
Am I right in thinking that I could create a text file on a PC and
upload to the module via the 'My Computer' interface and that the
module would then be able to read the settings?
Best wishes
ejw
On Dec 12, 5:34 pm, Florent Clairambault <supe...@gmail.com> wrote:
> Hi,
>
> This is my late answer (sorry) :http://florent.clairambault.fr/tc65-settings-management
>
> This won't be very useful for people willing to store raw (bytes arrays)
> settings but I guess it will solve most of the settings management problems
> you could have. It shouldn't be very difficult to convert this little class
> to one being able to manage raw settings.
>
> I'm really glad there's always someone to answer the questions. I'm sure
> it will help a lot of people starting on the TC65.
>
> Best regards,
> --
> Florent Clairambault
>
>
>
> On Mon, Dec 7, 2009 at 15:18, ejw <supp...@virtualict.co.uk> wrote:
> > Hi,
>
> > I assume you mean permanent storage so use record stores. There are
> > some useful articles on creating and using them such as:-
>
> >http://developers.sun.com/mobility/midp/articles/databaserms/
> >http://developers.sun.com/mobility/midp/articles/databasemap/
> >http://developers.sun.com/mobility/midp/articles/databasemapextend/
> >http://developers.sun.com/mobility/midp/articles/databasefilter/index...
>
> >http://developers.sun.com/mobility/midp/articles/databaserecordstore/...
> > javacint+u...@googlegroups.com<javacint%2Bunsubscribe@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/javacint?hl=en.- Hide quoted text -
>
> - Show quoted text -
To unsubscribe from this group, send email to javacint+u...@googlegroups.com.
Where you get the information of the tc65 flash limit? You mean that it
will just stop works when reaches this limit?
I think that the best practice to to that is when the program is
initialized, it istancies a class that read and store all the settings
in memory. I've adpted a INIClass from J2SE that uses Hashtables for
storing sections (an inner class) that uses hashtable too to store
proprietys (and inner inner class).
It first reads all the data in the file, and creates sections and
properties that will be acessed in memory.. Any read or change of the
settings are not commited, and you need to force it to save the file, so
it will write the file.
> For more options, visit this group at
> http://groups.google.com/group/javacint?hl=en.
>
>
>
>
>
> --
>
> You received this message because you are subscribed to the Google
> Groups "Cinterion Java enabled chips support" group.
> To post to this group, send email to java...@googlegroups.com.
> To unsubscribe from this group, send email to javacint
Hello Florent and ejw,
Where you get the information of the tc65 flash limit? You mean that it
will just stop works when reaches this limit?
tI think that the best practice to to that is when the program is
To unsubscribe from this group, send email to javacint+u...@googlegroups.com.