| | Re: Read String in File text.
Like in the earlier reply, once you have the connection, you could get the InputStream. You can then use the IOUtilities class provided by RIM to read the whole content into an array.
InputStream in = fconn.openInputStream();
byte data = IOUtilities.streamToBytes( in );
You could then set the data in a StringBuffer,
StringBuffer sb = new StringBuffer(data.length);
For small data file this would be an easier way to go.