开发者

Android Thread getState() throws Arrayindexoutofbounds 2.2.2

I just read from somewhere that calling getState()开发者_StackOverflow中文版 from a Thread in Android 2.2.2 sometimes causes this error. Is there a workaround for this?


Currently my workaround is to set a boolean flag in the my custom Thread as false. I new the Thread, check if it is false, start it, then set the flag to be true.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜