Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.
Talk:How to get System.out output from a MIDlet and save it to a file in S60 devices
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.