Game Development Reference
In-Depth Information
include: v(String, String) (verbose), d(String, String) (debug), i(String, String) (informa-
tion), w(String, String) (warning) and e(String, String) (error) . For instance:
Log.i("MyActivity", "MyClass.getView() — get PosX: " + position);
The logcat will then output something like:
I/MyActivity( 1557): MyClass.getView() — get PosX: 5
Logcat is also the place to look when debugging Android Browser apps or web pages.
For more information about how to set up an Android development environment on PC/
Mac, see the relevant posts on the Apphex Forums [ 3] .
Search WWH ::




Custom Search