Show dialog in hooked method by xposed running in thread
问题 I try to show an AlertDialog within a hooked method with xposed. The problem is that the method is running in a threads, and this thread is running in a thread, etc... For example : Activity -> thread -> thread -> ... -> function Is there a way to show my AlertDialog ? I have the Context, but since the hooked function is not in the main thread, it is useless. EDIT (Some code) : public class Xposed implements IXposedHookLoadPackage { private Context ctx; private Queue<String> queue = new