On Nov 11, 10:53 am, Trung Nguyen Thanh <[email protected]> wrote:
> Thanks you for your help.
>
> But I still need something more clear. Such as what is main fuction of 
> Restore Transaction =.=.
>
> Example:
>
> I have 10 product to sell and user already bought 2. After that, user
> swipe data (or buy new device or whatever ..). How do I know 2 id of
> item which was bought by user. (to prevent from user will select to
> buy it again, to high light that 2 item when app run in 1st time ... )
>
> Thanks.
>
> On Nov 10, 6:19 pm, Kostya Vasilyev <[email protected]> wrote:
>
>
>
>
>
>
>
> > You're right, Dungeons restores transactions from the server if it detects
> > that it was just installed and doesn't have purchase history yet.
>
> > Only managed items are restored, that's part of the definition of a managed
> > item.
>
> >http://developer.android.com/guide/market/billing/billing_overview.ht...
>
> > The billing infrastructure prevents repeat purchases of managed items.
> > Still, it's a good idea to not present the purchase UI for an item that's
> > already been purchased (and present some other UI or functionality
> > enhancements that the user purchased with the item).
>
> > Also be aware that some users backup and restore apps and their data when
> > wiping / flashing / getting a new phone, this matters if you encrypt your
> > purchase state data with anything device specific (e.g. the device id or
> > the IMEI).
>
> > -- Kostya
>
> > 2011/11/10 Trung Nguyen Thanh <[email protected]>
>
> > > I tried to search about that problem, but didnt get many information.
> > > I just know that:
> > > - Restore in the first time user install app or when user reinstall
> > > when they uninstall/wipe data.
> > > - Restore transaction just apply for managed-product.
> > > I tried to read Dungeon Example, there are few line of code about
> > > restore transaction like: when to call restore request, when to get
> > > restore respone... but i dont know:
> > > - How to get return information? (like item id that user had bought
> > > cause we need that id to ensure that user will not buy it again?)
>
> > > --
> > > 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

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