所以我正在尝试实现 In-App-Billing,问题是我需要 BillingHelper/ReponseHandler 在 UI 线程上运行。当我在我的 Screen 类中创建处理程序时,它只继承 Activity 作为参数。并在 Open GL 线程上运行,我收到以下错误。
10-16 18:36:28.500: E/AndroidRuntime(28263): java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
请帮忙。