Wednesday, September 29, 2010

System.out.print, Android

When i strated learning Android, i wanted to know where can i see my debug lines "System.out.print", so i'm sure this will be a easy guideline:

1. Run your application in my case use Netbeans.
2. in commandline execute: adb logcat

That's all, then you'll see i this new window all the messages from System.out.print

Try using android.util.Log instead of System.out.println(), and then use
adb logcat or DDMS to view the results of the logs.

No comments: