title: Reading ActivityManager-logs on a Jelly Bean device?
body: <p>Jelly Bean has removed the ability to read the logs of other apps (according to <a href="http://www.youtube.com/watch?v=RPJENzweI-A" rel="nofollow">this</a> I/O talk), which is a sensible security improvement. However, I need to read <code>ActivityManager</code>-logs for my app to work (to see which app is currently starting). To do this, I was using </p>
  
  <pre><code>private static final String clearLogcat = "logcat -c";
  private static final String logcatCommand = "logcat ActivityManager:I *:S";
  //...
  </code></pre>
  
  <p>which no longer works, as I can only read my own application's logs in Jelly Bean. Is there an alternative solution to finding out when another app is starting (apart from root)? I understand why we shouldn't be able to read other applications' logs (kind of - it should be the other developers' resposibility to make sure that no personal information is logged, not mine by being prevented from reading the log), but I don't understand why the <code>ActivityManager</code>, a framework class, is included in that policy...</p>
  
  <p>Thanks,<br>
  Nick</p>