Tran Triet Tran Triet - 6 months ago 63
Android Question

Android Log.d does not print whole message

I want

to print out a uri so I coded

Log.d(uri.toString(), "TOKEN");

Later on, I run a
method on the uri and have
print the second half of the original uri. Surprisingly, the printed content was longer than what was printed in the first time.

I think Log.d is not printing the whole uri. How do I make Log.d log out everything in the uri?


Try it otherwise:

Log.d("TOKEN", uri.toString());

The first parameter is the tag.

The 2nd parameter is the message., java.lang.String)