Android Open Source - ScanGoods Utilities






From Project

Back to project page ScanGoods.

License

The source code is released under:

Apache License

If you think the Android project ScanGoods listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.munix.gridviewheader;
/*www  . ja  v a2  s .c  o m*/
import android.util.Log;

public class Utilities 
{
  public static void log(String message) 
  {
    String fullClassName = Thread.currentThread().getStackTrace()[3].getClassName();            
        String className = fullClassName.substring(fullClassName.lastIndexOf(".") + 1);
        String methodName = Thread.currentThread().getStackTrace()[3].getMethodName();
        int lineNumber = Thread.currentThread().getStackTrace()[3].getLineNumber();

        Log.v("minube " + className + "." + methodName + "():" + lineNumber, message);
  }
}




Java Source Code List

com.munix.gridviewheader.HeadGridView.java
com.munix.gridviewheader.MainActivity.java
com.munix.gridviewheader.TestAdapter.java
com.munix.gridviewheader.Utilities.java