List of utility methods to do Log
void | debugLsDir(String dir) debug Ls Dir File directory = new File(dir); Log.d("quran_dbg", directory.getAbsolutePath()); if (directory.isDirectory()) { String[] children = directory.list(); for (String s : children) debugLsDir(dir + File.separator + s); |
void | writeLog(String msg) write Log try { if (!logFile.exists()) { logFile.createNewFile(); FileWriter fw = new FileWriter(logFile.getAbsoluteFile(), true); BufferedWriter bw = new BufferedWriter(fw); bw.write(msg); bw.close(); ... |