Possible Duplicate:
Why doesn't System.out.println work? (in Android)
I want to print something into console. What can I do? because System.out.println doesnt work. Some people says it works bur some of them says dosnt work. Which one right? Thanks
Possible Duplicate:
Why doesn't System.out.println work? (in Android)
I want to print something into console. What can I do? because System.out.println doesnt work. Some people says it works bur some of them says dosnt work. Which one right? Thanks
System.out.println()
works, also Log.d("TAG", "message");
works, but you need to open the LogCat view in eclipse and not the console view.
You should use the Log class from the android SDK. http://developer.android.com/reference/android/util/Log.html
like
final string tag = "myApp";
Log.d(tag,"hello world");