I want to float log on logcat to see what algorithm I implemented and it works
I tried System.out, but I can't do this.
How do I display log messages on logcat?
Import android.util.Log
Log.w("myApp","no network");
You can do it like this. In Log.w, the w part is the log level, myApp is the tag to find the log quickly, and the no network part is the message.