g90
g90

Reputation: 11

Using netbeans, how can I print to the console?

I know there are similar questions but none of them include the netbeans ide. any help would be greatly appreciated :)

Upvotes: 1

Views: 1269

Answers (2)

olamotte
olamotte

Reputation: 917

there is a built-in alias in some versions : just type "sout" (+ TAB, it depends i don't remember exactly) and there you go !

Upvotes: 0

Ollie C
Ollie C

Reputation: 28509

You can just use android.util.Log and view the output in the DDMS. Run ddms from the command line, and you'll get a view of the log that you can filter, etc.

http://developer.android.com/guide/developing/debugging/ddms.html

http://developer.android.com/reference/android/util/Log.html

Upvotes: 2

Related Questions