如何在Windows Phone 7中打造良好的试用体验?
我发现这段方便的代码可以确定我的应用程序是否处于试用模式,还有一个额外的好处是能够在模拟器中测试试用行为......
public bool IsTrial
{
get
{
#if DEBUG
return true;
#endif
return new LicenseInformation().IsTrial();
}
}
这很棒。我将能够相应地调整行为。
但除此之外,我希望有一些内置 API,我实际上可以在其中获得一个带有购买应用程序按钮的对话框。理想情况下,该按钮应将用户直接带到市场中的应用程序。
I found this handy piece of code to determine if my app 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
追加销售对话框的呈现由应用程序开发人员决定,原因很简单,它必须无缝融入应用程序设计和用户体验。
因此,向用户展示您想要的任何 UI 元素,一旦她单击它,就使用
MarketplaceDetailTask
。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
.