BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 10-24-2008, 11:08 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2008
Model: 7100T
PIN: N/A
Carrier: none
Posts: 32
Post Thanks: 0
Thanked 0 Times in 0 Posts
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


Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

33X Microchip AT93C46-10SI IC EEPROM 1KBIT 2MHZ 8SOIC
$9.99
33X Microchip AT93C46-10SI IC EEPROM 1KBIT 2MHZ 8SOIC picture21X Microchip 93C46B/SN IC EEPROM 1KBIT 2MHZ 8SOIC
$9.99
21X Microchip 93C46B/SN IC EEPROM 1KBIT 2MHZ 8SOIC pictureAtmel Atmega 328 p-pu AVR Micro Controller Flash :3 2kx8bit EEPROM: 1024B SRAM:
$7.13
Atmel Atmega 328 p-pu AVR Micro Controller Flash :3 2kx8bit EEPROM: 1024B SRAM: pictureUniversal TL866CS Programmer USB MiniPro EEPROM FLASH BIOS AVR GAL PIC SPI 40Pin
$29.99
Universal TL866CS Programmer USB MiniPro EEPROM FLASH BIOS AVR GAL PIC SPI 40Pin pictureAPPRX 80PC 24C64WP 64K BIT (8 X 8) EEPROM LOT - PDIP8
$9.95
APPRX 80PC 24C64WP 64K BIT (8 X 8) EEPROM LOT - PDIP8 picture






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