 |
android - Can't create handler inside thread that has not called Looper.prepare() - Stack Overflow
I ran into the same problem, and here is how I fixed it: private final class UIHandler extends Handler { public static final int DISPLAY_UI_TOAST = 0; public static final int DISPLAY_UI_DIALOG = 1; public UIHandler(Looper looper) { super(looper ...
stackoverflow.com |
 |