I have on app that is available from the Android Market. Some users have asked for a way of debugging when things don't work out as expected. I have been looking into adding a menu position that will display that output of I am getting very conflicting information regarding and use of android.permission.READ_LOGS Android permission. Firstly, the Android Documentation website does not enter and protection level of t...
Procedure mLogcatProc = null; BufferedReader reader = null; mLogcatProc = Runtime.getRuntime().exec(
modern String[] {"logcat", "-d", "AndroidRuntime:E BDtN:V *:S" });
readership = new BufferedReader(new InputStreamReader (mLogcatProc.getInputStream()));
String pipe; ArrayList listOfLogLines = new ArrayList();
while ((line = reader.readLine()) != null)
{
listOfLogLines.add(line);
}
Basically I am extracting the accessories of that Log.* lines that my app has been writers and the errors that the AndroidRuntime has was throwing.
I have an active prototype so will viewing to the user the contents the the part of of log that I own extracted in a ListView.
I will have in add android.permission.READ_LOGS to the AndroidManifest.xml record int order for my app to have get access to the log, additionally this of course will may information that the user will be prompted through before installing. And the question is if this is considered impolite, dangerous or otherwise out of the ordinary. Will it keep users from installing?