On Sat, Apr 2, 2011 at 1:41 PM, Raghav Sood <[email protected]> wrote:
> I am testing it on my phone. The emulator has never finished booting on my
> computer. How to I write errors to the logfile on the phone?

Stack traces are automatically written to LogCat on the phone. Use adb
logcat, DDMS, or the DDMS perspective in Eclipse to examine LogCat.

http://developer.android.com/guide/developing/device.html
http://developer.android.com/guide/developing/debugging/debugging-projects.html#toptips
http://developer.android.com/guide/developing/debugging/ddms.html
http://developer.android.com/guide/developing/debugging/debugging-log.html

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version
1.9.2 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to