Click here to Skip to main content
15,881,882 members
Articles / Programming Languages / Java

How to write Console message?

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
13 Nov 2012CPOL 3.6K  
Android. I used:import android.util.*;......Log.d("MyActivity", "Debug output");but this not show anything in console. What else may I use?

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
13 Nov 2012Manfred Rudolf Bihy
You need to look into doing standard IO with java.There are System.in System.out and System.err please read about them here: Java IO: System.in, System.out, and System.err[^]. System.out.println("Debug output");[Modification]I found this bit on SO where it says in one solution...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Comments and Discussions