Skip to main content

RecordStore Related !

2 replies [Last post]
Anonymous

Hello,
My image files are in system directory (ex: c:/images)
I am reading those image files and storing them into record store.
However when I close my application I want the data to be retained within record store.
So that when I run my application second time I don't want to read those image files again instead should be able to read from recordstore.
What I mean is images should be in phone memory so that I can browse through those files even when device is disconnected.
So how can I do this ?

Anyhelp would be really appreciated ..

With Best Regards,
Raghavendra. K. Naik
Analyst - ISI Practice
PA Consulting Group
* Nitesh Broadway, M.G.Road, Bangalore
> * +91 25318855 - ext. 28381
> * Raghavendra.Naik@paconsulting.com
> * http://www.paconsulting.com
>
>

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".
[att1.html]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Dhawal Ogale

That's the normal behavior. RMS is a persistent store. Just make sure to
not delete it at startup. Is your RMS not persisting across invocations?

_____

From: A mailing list for KVM discussion [mailto:KVM-INTEREST@JAVA.SUN.COM]
On Behalf Of Raghavendra K. Naik
Sent: 01 December 2006 01:48 AM
To: KVM-INTEREST@JAVA.SUN.COM
Subject: RecordStore Related !

Hello,
My image files are in system directory (ex: c:/images)
I am reading those image files and storing them into record store.
However when I close my application I want the data to be retained within
record store.
So that when I run my application second time I don't want to read those
image files again instead should be able to read from recordstore.

What I mean is images should be in phone memory so that I can browse through
those files even when device is disconnected.

So how can I do this ?

Anyhelp would be really appreciated ..

With Best Regards,
Raghavendra. K. Naik
Analyst - ISI Practice
PA Consulting Group
? Nitesh Broadway, M.G.Road, Bangalore
* +91 25318855 - ext. 28381
* Raghavendra.Naik@paconsulting.com
* http://www.paconsulting.com

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".
[att1.html]

Robin Chaddock

RecordStore Related !Also make sure you are calling closeRecordStore() an equal number of times as openRecordStore(...) for any given record store.

This is clearly explained in the RecordStore javadoc.
[quote]
This method is called when the MIDlet requests to have the record store closed. Note that the record store will not actually be closed until closeRecordStore() is called as many times as openRecordStore() was called. In other words, the MIDlet needs to make a balanced number of close calls as open calls before the record store is closed.
[/quote]
----- Original Message -----
From: Dhawal Ogale
To: KVM-INTEREST@JAVA.SUN.COM
Sent: Friday, December 01, 2006 10:30 AM
Subject: Re: RecordStore Related !

That's the normal behavior. RMS is a persistent store. Just make sure to not delete it at startup. Is your RMS not persisting across invocations?

------------------------------------------------------------------------------

From: A mailing list for KVM discussion [mailto:KVM-INTEREST@JAVA.SUN.COM] On Behalf Of Raghavendra K. Naik
Sent: 01 December 2006 01:48 AM
To: KVM-INTEREST@JAVA.SUN.COM
Subject: RecordStore Related !

Hello,
My image files are in system directory (ex: c:/images)
I am reading those image files and storing them into record store.
However when I close my application I want the data to be retained within record store.
So that when I run my application second time I don't want to read those image files again instead should be able to read from recordstore.

What I mean is images should be in phone memory so that I can browse through those files even when device is disconnected.

So how can I do this ?

Anyhelp would be really appreciated ..

With Best Regards,
Raghavendra. K. Naik
Analyst - ISI Practice
PA Consulting Group
? Nitesh Broadway, M.G.Road, Bangalore
( +91 25318855 - ext. 28381
* Raghavendra.Naik@paconsulting.com
8 http://www.paconsulting.com

=========================================================================== To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff KVM-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help". =========================================================================== To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff KVM-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".
[att1.html]