在接收到Broadcast时候处理过程中出现ANR,在Android文档中发现BroadcastReceiver在处理超过10秒的情况下会出现ANR(When it runs on the main thread you should never perform long-running operations in it (there is a timeout of 10 seconds that the system allows before considering the receiver to be blocked and a candidate to be killed).).

  但在程序中所须处理的操作不可能超过十秒,最后经过查看全部log才发现应用在low memory时被杀死,在接收到新的Broadcast时重新启动出现ANR,最终的解决方案是在程序接收到Broadcast时启动新的线程处理。