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


Vacuum Kit, 2.5

Vacuum Kit, 2.5", Blue/Orange Best New

$59.99



C.R. Laurence Powr-Grip 8

C.R. Laurence Powr-Grip 8" ABS Vacuum Cup

$40.00



Subco VG 64 Digital Vacuum Gauge  picture

Subco VG 64 Digital Vacuum Gauge

$72.50



Clean Cordless Handheld Vacuum, Compact Home and Car Vacuum with Crevice Tool picture

Clean Cordless Handheld Vacuum, Compact Home and Car Vacuum with Crevice Tool

$47.99



FEBCO 765DBV 3/4in Bronze FNPT Pressure Vacuum Breaker NEW picture

FEBCO 765DBV 3/4in Bronze FNPT Pressure Vacuum Breaker NEW

$89.99



Portable Hose Blower Wet Dry Shop Vac Vacuum 5 Gallon 6 Peak HP Cleaner picture

Portable Hose Blower Wet Dry Shop Vac Vacuum 5 Gallon 6 Peak HP Cleaner

$45.00







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