The Android Developer documentation does not mention whether the method below (and similar ones) is synchronous or not: Log.i(String tag, String msg)
Can anyone shed some light on this ?
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.
android.util.Loginvokes all of its methods on the calling thread. So yes, it is synchronous (and IMO it would be kind of silly if it wasn’t).You can find the source code here.