n1kh1lp n1kh1lp - 3 months ago 15
Android Question

Show log messages on screen for Android application

Is it possible to display the log messages (which I print using

) on screen in an Android application?

Is there any other better method to just output lines on the screen?

Something like


Like others have suggested, you can use log cat. If you are using the emulator or debugging a device, you can use adb logcat to view the messages. In Eclipse debug perspective, there is a window that will do that for you.

Another way, without a debugger attached, is to use the CatLog - Logcat Reader application.