I know there are similar questions but none of them include the netbeans ide. any help woul开发者_运维知识库d be greatly appreciated :)
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
there is a built-in alias in some versions : just type "sout" (+ TAB, it depends i don't remember exactly) and there you go !
精彩评论