Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

In-App Billing functioning weird

 
Casey Clayton
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok so I have in-app billing setup in my app and it seems to work but I am having some weird problems. Let me give you guys a layout of code quickly.



Now the same updateUi() method is called in the onPurhcaseFinsishedListener as well as setting the mIsPurchased to true. Now the strange part is that the purchase Dialog no longer shows up but it doesn't transfer it to the new activity and when I set a toast to show the status of the boolean it says false, but yet the dialog still doesn't show which should. Any ideas? Note that the purchase is a success and goes through properly and the dialog never comes back after but yet the variable isn't true and it doesn't go to the new Activity.
 
Rehan Zahoor
Ranch Hand
Posts: 83
Android Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you should use logging log.I() method and trace exactly where the code stops behaving normally. Good luck
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic