Inside Windows Phone 45 | Adding In App Purchase as a ‘light up’ feature to your Windows Phone 7 Games

Sign in to queue

Description

Windows Phone 8 adds the ability for developers to sell additional features within the context of their
application, using 'In App Purchase.' Since Windows Phone 7 applications work on Windows Phone 8, we've also delivered the ability for you to add a few WP8 features to your WP7 app, which will run only when the application is run on a WP8 device. In this talk, Saral will walk us through exactly how you would add In-App Purchase to your WP7 game, so that it will appear when the app is used on WP8.

Download the code sample for this video here.

Embed

Download

Download this episode

The Discussion

  • User profile image
    KakCAT

    Hi!

     

    I'm very interested in the code, please add the link soon! Smiley

  • User profile image
    sshodhan

    @KakCAT - we are looking into publishing the sample in the next few days if not earlier, sorry for the delay.

  • User profile image
    sshodhan

    @KakCAT:

    Hello  - the code is now posted, best of luck

  • User profile image
    MykeP

    Hi!

    is it possible to get a more complex example, in example, to get a listing? This example is just obtaining the class pointer, but everytime I try to call LoadListingInformationAsync I get a System.Exception error inside of it.

  • User profile image
    sweecheekeo​ng

    www.google.com/www.facebook.com

  • User profile image
    nazia220590

    hi,

    This given sample support to only visual studio 2012.

    How can I use it for visual studio 2010?

    Thank You. 

  • User profile image
    Karios

    I would also like a complete example. I am getting the _store object but the exposed functions seem to be completely different than the WP8 IAP functions. 

  • User profile image
    KakCAT

    Problems here too, I'm always getting a "A method was called at an unexpected time. (Exception from HRESULT: 0x8000000E)!" no matter what I do

  • User profile image
    jules

    All getting confused where all this Windows Phone games development is going. Here we are presented with a XNA based game, which we all know is being dumped.

    Until Microsoft sort out this W8 RT WP8/WP7 road crash most of us ex WP developers have moved over to Android development with MonoGame.

  • User profile image
    assad

    i want windows mobile 7

  • User profile image
    david

    no comment

  • User profile image
    Tim Miltz

    I happen to be developing a Windows app / phone app (is there a difference ? I've not figured this out yet, I paid $49.95 to sell at the Windows app store, and I have yet to pay the $99.95 at the Phone App/ XBox store. I would have preferred more hand holding as i'm new but hey, this is a start. I might think that 'expansion packs' would fall under durables, but it might be nice to see a third category. Thanks for the video though, I hope to see more. I'm slowly making my way through what is an App and what isn't. On one hand I am starting to use DNA, but then I read this is being abandoned ? 35 years into programming, it IS nice to do so many things with one line of code, but to comprehend that one line requires a great deal of intellectual investment into understanding the entire hierarchy that class inherits from.

    Thanks

  • User profile image
    Paul

    I am attempting to use this as a template to enable other features, such as NFC, however this requires certain capabilities to be turned on in the app manifest. ID_CAP_PROXIMITY (Or any of the new features) can't be added thus will trigger a unauthorized access exception when the code executes. Is there any way to provide this capability through another means?

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.