BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 10-24-2008, 11:08 AM   #1
Mikaël Donini
Knows Where the Search Button Is
 
Join Date: Sep 2008
Model: 7100T
PIN: N/A
Carrier: none
Posts: 32
Default RecordStore and jad file that references multiple .cod files

Please Login to Remove!

Hi All,

My application is a .jad file that references multiple .cod files. I have used updatejad.exe to build such a .jad.

In the first .cod file, I have implemented a RecordStore:

Code:
// store creation
RecordStore countriesStore = RecordStore.openRecordStore("COUNTRIES", true, RecordStore.AUTHMODE_ANY, true);
//  populate the store
String value = "France";
countriesStore.addRecord(value.getBytes(), 0, value.length());
// retrieve the value
String retrievedValue = new String(_countriesStore.getRecord(1))
This works perfectly.

But, I would like to access this record store in the second module (second .cod file that belongs to the same .jad file).

Is it possible?

Thanks a lot for your time and answer.

Mikaël Donini, Arkadin France.
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


1pcs used TSXMFPP128K Memory Card picture

1pcs used TSXMFPP128K Memory Card

$175.00



Kingston 9905431-015.A00LF KVR800D2N5/1G Desktop Memory RAM (Low Profile) picture

Kingston 9905431-015.A00LF KVR800D2N5/1G Desktop Memory RAM (Low Profile)

$2.99



Kingston 99U5429-007.A00LF KVR800D2N6/2G Desktop Memory RAM (Low Profile) picture

Kingston 99U5429-007.A00LF KVR800D2N6/2G Desktop Memory RAM (Low Profile)

$4.99



Kingston 9905431-003.A01LF KVR800D2N6/1G Desktop Memory RAM (Low Profile) picture

Kingston 9905431-003.A01LF KVR800D2N6/1G Desktop Memory RAM (Low Profile)

$2.99



NEW Original Allen Bradley 2080-MEMBAK-RTC Memory Module With RTC Plug-In picture

NEW Original Allen Bradley 2080-MEMBAK-RTC Memory Module With RTC Plug-In

$284.00



1PC Omron HMC-EF183 HMCEF183 PLC Memory card New Expedited Shipping picture

1PC Omron HMC-EF183 HMCEF183 PLC Memory card New Expedited Shipping

$267.00







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.