开发者

Android Looper handler handleMessage is not called after sending a message to it (HTC EVO 3D)

开发者 https://www.devze.com 2023-03-30 21:48 出处:网络
I am experiencing a very strange problem: On HTC EVO 3D, sometimes, a looper does not call handleMessage after a message is sent to the looper\'s handler. It happens twice and very difficult to reprod

I am experiencing a very strange problem: On HTC EVO 3D, sometimes, a looper does not call handleMessage after a message is sent to the looper's handler. It happens twice and very difficult to reproduce. The开发者_如何学Python first time I caught it is after eight hours stress test. There was no errors and exceptions. However, I did not print out whether the message is successfully sent to the looper, but I am sure the looper thread is still alive and running through debugger.

I used the exactly same mechanism for more than half year and never had any problems. I am wondering does anyone meet the same problem? Is it the device issue?

Thanks,

Simon

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号