Re: [android-developers] READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)
On Thu, Jul 12, 2012 at 12:59 PM, Dianne Hackborn <hackbod@android.com> wrote:
> however every app can read the logs containing only the lines
> *they* have written, without needing any permission.
OK, I'll bite: how do you do this? Most of the read-the-logs code that
I have seen uses logcat via Runtime#exec(), and I don't see a
command-line switch on logcat to limit output to just your own
process' lines.
(BTW, count me as one of the fans of this decision, despite the very
loud grumblings I expect you will receive from various quarters)
Thanks!
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android Training in NYC: http://marakana.com/training/android/
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home