android 监听其它app的错误或者崩溃的方法 (ProcessErrorStateInfo)
16lz
2022-04-01
具体请参见android源码:ProcessErrorsTest.java
private String checkForProcessErrors() throws Exception {
ListerrList = mActivityManager.getProcessesInErrorState();
// note: this contains information about each process that is currently in an error
// condition. if the list is empty (null) then "we're good".
// if the list is non-empty, then it's useful to report the contents of the list
final String reportMsg = reportListContents(errList);
return reportMsg;
}
更多相关文章
- Android抓屏源码
- 源码网站推荐
- android 源码的一些修改定制方案
- 禁止状态栏下拉
- 第一代Android壳源码--某某公司早期壳代码加固原理分析
- Android代码实现飞行模式的打开
- android仿苹果Iphone桌面源码
- View的invalidate()方法的源码分析
- 开源分享!2021年最新 Android(安卓)资料汇总,从小白到大佬的进阶之