ログの取得 try { ArrayList<String> commandLine = new ArrayList<String>(); // コマンドの作成 commandLine.add( "logcat"); commandLine.add( "-d"); commandLine.add( "-v"); commandLine.add( "time"); commandLine.add( "-s"); commandLine.add( "tag:W"); Process process = Runtime.getRuntime().exec( commandLine.toArray( new String[commandLine.size()])); BufferedReader bufferedReader = new BufferedReader( new InputStream
![Android Wiki*](https://cdn-ak-scissors.b.st-hatena.com/image/square/2af9275ab7c1674d461cc6fa05416d4c88dd98aa/height=288;version=1;width=512/https%3A%2F%2Fcdn.wikiwiki.jp%2Fto%2Fw%2Fcommon%2Fimage%2Fwikiwiki_ogp.png%3Fv%3D4)