Skip to main content

Record store

1 reply [Last post]
Anonymous

Hello,
I have created a recordstore named "Resources" as follows in midlet-1.

RecordStore rsStore = RecordStore.openRecordStore("Resources", true,RecordStore.AUTHMODE_ANY,true);

In midle-2 I am trying to access this record store as follows.

store = RecordStore.openRecordStore("Resources",false);

However it throws exception saying the record store not found even after giving full access !
What might be the problem ?

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.
Joe Bowbeer

On 11/30/06, Raghavendra K. Naik wrote:
>
> I have created a recordstore named "Resources" as follows in midlet-1.
>
> RecordStore rsStore = RecordStore.openRecordStore("Resources",
> true,RecordStore.AUTHMODE_ANY,true);
>
> In midle-2 I am trying to access this record store as follows.
>
> store = RecordStore.openRecordStore("Resources",false);
>
> However it throws exception saying the record store not found even after
> giving full access !
> What might be the problem ?
>

Use 3-arg openRecordStore(recordStoreName, vendorName, suiteName )

See http://developers.sun.com/techtopics/mobility/midp/ttips/sharedrms/

===========================================================================
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".