Android

Can't create handler inside thread that has not called Looper.prepare()

tomato13 2013. 8. 5. 20:15

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.