Hi guys, I have in app billing working and it is copied from the Android 
Sample.
The problem is, I am opening the application from a screen class I created 
but I have the context of the original context passed to the screen class. 
When I request a purchase with in app billing it exits out to the 
foreground. I have read the docs and made sure that launchMode is not 
singletop and also that the launching of the pendingIntent is from an 
activityContext and not an application context. What gives?

I have tried implementing this on a separate activity and it opens fine on 
that activity without exiting the application but once I implement it on 
the class screen it exits to the foreground.

I guess what I am trying to accomplish is for the game to resume instead of 
the application finishing when in app billing purchases are done.

Heres some code from my screen class
http://pastebin.com/df1mupwH

-- 
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

Reply via email to