Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2012

    IAP, Java, Restore problem

    Hi everybody,

    I have a problem with a restorable item. I can buy the item with success but I can't restore i t- a method restorationCompleted returns -37. My application has 4 iap items one of them should be restorable. (demo and full version)
    1) what method should I call on start (getProductData(ids..) or getRestorableProducts(..)?
    2) Can I test the restoring behavior on a simulator? I tried the game "Battletank" from samples but restorationCompleted returns -37 also.
    3) regarding drm as I know a restoring item is available if the application has drm model. What should I do to set drm for items?

    Best regards,

  2. #2
    Registered User
    Join Date
    Jul 2012

    Re: IAP, Java, Restore problem

    Quote Originally Posted by easy78 View Post
    Hi everybody,
    Best regards,
    mm.... It seems I've found a answer for the restoration problem. I use test Nokia server for testiing with options [testserver]

    According to the documentation
    "Purchase: The test server treats all purchases as first-time purchases, and never converts purchases to restorations. You can purchase the same item repeatedly."

    So I would like to have two type purchased items:
    1 - one restorable item (unlock full version)
    2 - non restorable items (game's curency) a user is able to buy it multiply times

    just one more question - is it possible to do?
    If I put to drm\data\resourceid_(for first item) some text file the application is detected as drm model
    so first iap item will be restorable.
    Is able a user to buy the second iap item (game's curency) multiple time in this case?
    How can I test the situation with Nokia test server?

    Best regards,

Similar Threads

  1. Backup and Restore Problem
    By gailu in forum Symbian
    Replies: 13
    Last Post: 2009-06-21, 17:24
  2. Problem with my Inbox after restore the backup
    By golagha in forum General Messaging
    Replies: 3
    Last Post: 2007-10-17, 20:30
  3. Restore Problem
    By pistha in forum Symbian
    Replies: 1
    Last Post: 2006-04-25, 06:34
  4. Backup Restore Problem
    By nad123 in forum OMA DM/DS/CP
    Replies: 0
    Last Post: 2005-03-05, 14:41
  5. PC Suite problem to restore
    By gricozzi in forum General Development Questions
    Replies: 2
    Last Post: 2004-11-25, 15:10

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts