08-05 19:20:29.180: E/AndroidRuntime(26002): Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
You can call handler in thread or asynctask. But you can't create a handler in them.
'Android' 카테고리의 다른 글
android socket example (0) | 2013.08.13 |
---|---|
Is AyncTask run on a main thread? (0) | 2013.08.05 |
Fragment life cycle (0) | 2013.08.02 |
The specified child already has a parent. You must call removeView() on the child's parent first. (0) | 2013.07.23 |
removeView function removes only direct child object. (0) | 2013.07.23 |