Using Android Logcat to display like this
I am new to Android and I am currently trying to understand how to use the logcat well. If you look at this here:
LinkedIn scribe OAuth library unable to allow access to LinkedIn account
This person has logcat print out all system.out.println() to verify that the code works without having to write a full app to run. I was hoping someone could show me how I might be able to do this. Thanks
I'm not sure what you mean by this:
without having to write a full app to run.
But the code in that question most probably does not generate those statements without actually running them as an APK.
And then it is just a fact that a line like this:
System.out.println("=== LinkedIn's OAuth Workflow ===");
Wil behave as if Log.?
is called. So the way you can do what happens in that question is just put your log-lines (either trough Log.?
or if you please with System.out.println
) in your APK. But you need to run it to .. well.. run it :)
精彩评论