Sort of equivalent to .NET Debug.WriteLine( )
import android.util.Log;
sprinkle the following throughout the code
Log.d( "Some Category", "blah blah message" )Couldnt get NetBeans to show me the output. Using Android "adb" dev tool (from SDK tools dir).
adb devices adb logcatCan filter output with something like the following:
adb logcat XmlNode:D *:S(Above says show DEBUG output for XmlNode category, and SILENT for everything else)
blog post about it
hereADB documentation
here
Posted 5:33 PM
|
0 comments
|
Permalink