09-16-2008 10:55 PM
I am returning one prepared string, since after preparing the string fully, then user has options to either send the string contents as is via email, save it as a Note or dump it in a file on the SDCard.
I am simply outputing the string to Log using the method-
EventLogger.logEvent(GUID, errorMsg.getBytes(), EventLogger.ERROR) ;
The output appears into the Log wrapped up to the next line once a line is longer to fit in a single line.
BTW, your trick to do System.out.println is another good idea to dump long strings. I would really want to give a try to output the text into a Stream and redirect the stream to Log, String or some other destination.
09-17-2008 10:09 AM