04-29-2009 09:43 PM
Although there seems to be lots of ways to read in a file in regular Java, the only article using the Blackberry libraries that I have found is referenced a number of times in this Forum:
However, this example only takes the file and then returns the file as one whole stream.
I've got a situation where I have a text file with delimited values that need to be inserted into a Persistent table. I know how to use split() to break apart the delimiters, but is there a mechanism for reading the line feeds?
Right now, here is the format (small sample):
How do a set up a loop to go through the lines one at a time (I want to populate an array with the values)?
Thanks in advance.
-- John Kiernan
Solved! Go to Solution.
05-11-2009 02:55 PM
06-09-2009 03:25 AM
I want to develop an application , in which after connecting the device to computer . the device should ask for the location of the text file
(if i gave like this Crogramfiles\xyz.txt), it should read that text file if the file was present.. and in the same way i want to do write some thing...