try { StringBuilder a=new StringBuilder(); BufferedReader b=new BufferedReader(new FileReader("/proc/kmsg"));; String row; while((row=b.readLine())!= null){ a.append(row+"\n"); } String c=a.toString(); } catch (FileNotFoundException e) { Toast.makeText(this, "FILE NOT FOUND!!!" , Toast.LENGTH_LONG).show(); e.printStackTrace(); } catch (IOException e) {
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)