Talk:How to get System.out output from a MIDlet and save it to a file in S60 devices
From Nokia Developer Wiki
Here in this article, it shows how to get String output on to screen of mobile and how to store output into a file. So that we can get it later on. Here it explains that when you are using emulator or on device debugging features, you can’t use System.out.println() statement. For that Input stream is used and output data is directed to text box or store it into text file via Input Stream. To redirect, InputConnection API is used. The source file(.java) file is also given fully so we can test it by ourself.
This is an important concept and it has basic APIs also so that every body can obtain good knowledge by learning it in intensely.