Does the Logcat log when i shift from one application to other? What does that message look like?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I believe that anything an application logs will be written to logcat. It will not look any different than if it was in the foreground.
However, remember that applications know when they are not in the foreground, so they probably won’t output the same messages to logcat as they would if they were in the foreground.
Edit:
In response to how an application knows when it’s in the foreground.
From Google (http://developer.android.com/reference/android/app/Activity.html)