Has anyone even noticed the alert box has changed during their in-app purchase interactions? Does anyone know what is supposed to happen when that 'Details' button is pressed?
On Monday, September 17, 2012 2:22:09 AM UTC-4, kadmos wrote: > > Some new issues I'm having with In-App purchasing for Managed Products. > Our app has logic in place to perform certain actions if the Play Store > detects that a Managed Product has already been purchased by the user. This > was working (or so we thought) until recently, and then we noticed that the > dialog box that pops up is different - it now reads "You already own this > item." and there are now two buttons - 'Details' and 'OK' - where there > used to be only an 'OK' button. > > The first problem is that pressing the 'Details' button crashes the Play > Store app... > > *09-16 23:39:35.570: E/dalvikvm(2923): Could not find class >> 'com.google.android.finsky.utils.Nfc$IcsNfcHandler', referenced from method >> com.google.android.finsky.utils.Nfc.getHandler >> **09-16 23:39:35.570: W/dalvikvm(2923): VFY: unable to resolve >> new-instance 2066 (Lcom/google/android/finsky/utils/Nfc$IcsNfcHandler;) in >> Lcom/google/android/finsky/utils/Nfc; >> **09-16 23:39:35.570: D/dalvikvm(2923): VFY: replacing opcode 0x22 at >> 0x0017 >> **09-16 23:39:35.570: D/dalvikvm(2923): VFY: dead code 0x0019-001b in >> Lcom/google/android/finsky/utils/Nfc;.getHandler >> (Lcom/google/android/finsky/activities/DetailsDataBasedFragment;)Lcom/google/android/finsky/utils/Nfc$NfcHandler; >> **09-16 23:39:35.590: D/AndroidRuntime(2923): Shutting down VM >> **09-16 23:39:35.590: W/dalvikvm(2923): threadid=1: thread exiting with >> uncaught exception (group=0x4001d5a0) >> **09-16 23:39:35.600: E/AndroidRuntime(2923): FATAL EXCEPTION: main >> **09-16 23:39:35.600: E/AndroidRuntime(2923): >> java.lang.NullPointerException* > > > > The second problem is I cannot find documented how to catch and process a > broadcast from the Play Store that an item is already purchased, so as to > cause/allow for certain other processes to happen. Does anyone know how to > do this? LIke is there a certain JSON object that can be referenced for a > value specifically indicating a item already purchased? I basically need to > read access to whatever value causes the Alert box to show. > > Thanks. > > Jx > -- 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

