List of usage examples for android.util Log i
public static int i(String tag, String msg)
From source file:Main.java
public static void tolog(int value) { Log.i("@@@~~my~~~@@@", Integer.toString(value)); }
From source file:Main.java
public final static void i(String tag, String msg) { if (debug) { Log.i(tag, msg); } }
From source file:Main.java
public static void i(String tag, String msg) { if (IS_PRINT) { Log.i(tag, msg); } }
From source file:Main.java
public static void PrintGLstring(String name, int s) { Log.i(TAG, String.format("GL %s = %s\n", name, GLES20.glGetString(s))); }
From source file:Main.java
public static void Logi(String tag, String message) { if (mbShowLog) { Log.i(tag, message); } }
From source file:Main.java
public static void log(String msg) { Log.i(TAG, msg); }
From source file:Main.java
public static void showLog(String tag, String log) { Log.i(tag, log); }
From source file:Main.java
public static void logi(String tag, String msg) { if (isShow) { Log.i(tag, msg); } }
From source file:Main.java
public static ArrayList<Long> generateNumbers(String phoneNo) { Log.i("Generating Phone Numbers, from input " + phoneNo, ""); int maxLength = 10; int len = phoneNo.length(); int missing = maxLength - len; String phoneNoStart = phoneNo; String phoneNoEnd = phoneNo;//from w ww .j av a 2s . co m for (int i = 0; i < missing; i++) { phoneNoStart = phoneNoStart + "0"; phoneNoEnd = phoneNoEnd + "9"; } long phoneStart = Long.parseLong(phoneNoStart); long phoneEnd = Long.parseLong(phoneNoEnd); ArrayList<Long> phoneNoList = new ArrayList<Long>(); for (long j = phoneStart; j <= phoneEnd; j++) { phoneNoList.add(j); } return phoneNoList; }
From source file:Main.java
private static void print(SparseArray<String> strs) { for (int i = 0; i < strs.size(); i++) { Log.i("XJ", "key = " + strs.keyAt(i) + ",value = " + strs.valueAt(i)); }/*from w ww .java2 s.com*/ }