http://blog.csdn.net/zhuanglonghai/article/details/38233069 1. handler 使用静态内部类。 2. 使用弱应用 3. 在onDestory移除消息