http://www.cnblogs.com/devinzhang/archive/2011/12/30/2306980.html
http://blog.csdn.net/fenghome/article/details/5675421
附加:
自己对handler的理解,hanlder是异步回调处理接口,类似web的ajax, handler有两个主要功能:
1.post线程(Runnable不是thread) Handler,post(Runnable runnable); 把线程放到消息队列Causes the Runnable r to be added to the message queue. post线程通常用法,如改变UI
2.回调处理数据 sendMessage Handler.sendMessage(Message msg), 类似ajax回调data处理,Pushes a message onto the end of the message queue after all pending messages before the current time.