The Android SDK includes a host of tools that you can use for debugging purposes. These tools are integrated with the Eclipse IDE (see Figure 2–15 for a small sample).
One of the tools that you use throughout Android development is LogCat. This tool displays the log messages you emit using
System.out.println, and so on. Although
System.out.println works, and the messages appear in the LogCat window, to log messages from your application youshould use the
android.util.Log class. This class defines the familiar informational, ...