If I understand correctly, do you want to display some debug messages? In standard java, you can use the System.out.println method, but with android, I suggest you use the Dalvik debugger.
Using:
Log.i("mytag","My simple message");
And display the result using the Dalvik debug monitor
Launch the Dalvik debug monitor with:
c:\android-sdk\tools\ddms.bat
Just change the folder name to where you installed the SDK.
Now the debugger application will start (next to the emulator) and your message will be displayed in green text.
source
share