Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

In-App Billing functioning weird  RSS feed

 
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: 85
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
Boost this thread!