开发者

How to create a good trial experience in Windows Phone 7?

开发者 https://www.devze.com 2023-01-30 07:07 出处:网络
I found this handy piece of code to determine if my a开发者_运维知识库pp is in trial mode, with the added benefit of being able to test trial behavior in the emulator...

I found this handy piece of code to determine if my a开发者_运维知识库pp is in trial mode, with the added benefit of being able to test trial behavior in the emulator...

public bool IsTrial
{
    get
    {
        #if DEBUG
        return true;
        #endif

        return new LicenseInformation().IsTrial();
    }
} 

And that's great. I'll be able to adjust behavior accordingly.

But beyond that, I was hoping for some built-in API where I can actually get a dialog box with a button to buy the app. Ideally, the button should take the user directly to the app in the marketplace.


The presentation of the upsell dialog is up to the app developer for the simple reason that it has to blend seamlessly into the app design and user experience.

So, present the user with whatever UI elements you want, and once she clicks on it, sending her to the marketplace using the MarketplaceDetailTask.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号