I'm trying to import an Android library into a Java desktop project. But the library does not find any class that is related to import android.os
.
I'm having difficulty with the Handler android.os.Handler
class.
Any replacement for this:
public void run() {
Looper.prepare();
handler = new Handler();
Looper.loop();
}