Take screenshot when application crashes in Android -
i developing bug reporter in custom rom , want know if there mechanism of taking screenshot when application has crashed.
i know handleapplicationcrash()
method of actvitymanagerservice
called when application crashes. here intent action intent.action_app_error
broadcasted contains bug_report
.
i know bugreportreceiver
in frameworks/base/packages/shell gets intent extras extra_bug_report
, extra_screenshot
. not able trace screenshot generated , intent broadcast.
i need in writing code take screenshot automatically when application has crashed.
f want save information app crash, must go acra library
acra library enabling android application automatically post crash reports google doc form. targeted android applications developers them data applications when crash or behave erroneously. (taken link)
a crash reporting feature android apps native since android 2.2 (froyo) available through official android market (and limited data). acra great android developers :
i hope should you...
Comments
Post a Comment