[android-beginners] Application monitoring

2010-07-13 Thread kypriakos

The applications I am importing into Android make use of out.println
in many places. That was one of the way we could monitor them at
runtime. I don't suppose this would be the case with Android - how
would I be able to monitor the execution of these apps here? These
apps are primarily background services - they run and wait for input
from the user to route the messages through the network. What would
the best way to debug them be?

Thanks

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Application monitoring

2010-07-13 Thread Mark Murphy
On Tue, Jul 13, 2010 at 1:48 PM, kypriakos demet...@ece.neu.edu wrote:

 The applications I am importing into Android make use of out.println
 in many places. That was one of the way we could monitor them at
 runtime. I don't suppose this would be the case with Android - how
 would I be able to monitor the execution of these apps here?

LogCat, though ideally you would change those to use the android.util.Log class.

 These
 apps are primarily background services - they run and wait for input
 from the user to route the messages through the network. What would
 the best way to debug them be?

You can access LogCat via adb logcat, DDMS, or the DDMS perspective in
Eclipse. Or, just Eclipse's debugger. Etc.

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

Android 2.2 Programming Books: http://commonsware.com/books

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en