12-11-2007, 01:55 PM
|
#1 (permalink)
|
| New Member
Join Date: Nov 2007 Model: 8800 PIN: N/A Carrier: Rogers
Posts: 8
Post Thanks: 0 Thanked 0 Times in 0 Posts
| Resource Bundle max size. Please Login to Remove! Hello,
I would like to do some testing of my application on the simulator and the device. What I need is large string to be read in a written out. I would like these strings to be documents of 100K in size. I have tried to simply copy a file into java source code, but it is too large to be declared as a new string. I have also tried to put the string into resources (.rrc & .rrh) files, but I receive a missingresourceexception even though the first few are there. I have even tried splitting up the strings into sizes that can be handled, but the result is still the same exception. For example, I have tried:
FILEA1#0="Long string";
FILEA2#0="Long string2";
...
The seventh string causes the error and each of these strings is approximately 10000 characters. Is there a maximum resource size of 65536??? And can anyone tell me how to get these strings into an app on the device. Thanks. |
| Offline
| |