Monday, October 14, 2013

How to trigger bug report programmically on Android device

There is a menu "Take a bug report" in developer option in Settings, and I am wondering whether there is a way to trigger the bug report in my app, here is what I found:

in code:
SystemProperties.set("ctl.start", "bugreport");

via adb:
adb shell setprop ctl.start bugreport

No comments:

Post a Comment

Thrift fails on Windows - thrift failed error: The command line is too long.

Meet a thrift compiling failure on my project on Windows 7. Using Maven in IntelliJ so I choiced maven-thrift-pluging for thrift files. For ...