On Thu, Feb 28, 2013 at 3:26 PM, LostDev <[email protected]> wrote:
> > The library we developed for IAB Version 2 runs in a separate thread as it > handles numerous server connections before the purchase request is sent to > Google, and after purchase results are received. > > Rather than change the architecture of the library, is it possible to run > launchPurchaseFlow on the UI thread (from the library thread)? I recently > discovered runOnUiThread() but am unsure if it is appropriate in this case. > I haven't tried it, but probably. You can also use a Handler created on the UI thread to achieve the same thing. -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

