How do I view the output stream of the Java application in the emulator or the device?