[android-developers] IabHelper (and OpenGL) losing the application context once a payment process is started
Hi
After spending days debugging my Android application I realised that during the payment process, once the Google Play notification appears the surface is invalidated and recreated. This means I am recreating the OpenGL context and the IabHelper needs an updated context. So what I have done is basically unbind the billing process and rebind it again with new context which basically appears to work on testing the application. So what I am asking is will this work for real when I publish it. Is this bad practise to be constantly unbinding and recreating the helper everytime the context is lost? How do other people deal with this? Are there better solutions?
Steve
-- --
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
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 android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home