有没有办法在Windows Phone 7中实现自定义应用程序升级? [英] Is there a way to implement custom in app upgrade in windows phone 7?

查看:134
本文介绍了有没有办法在Windows Phone 7中实现自定义应用程序升级?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些使用Windows phone 7.1 SDK开发的Windows phone 7应用程序。目前,我正在所有这些免费应用中展示广告。我想提供一个从应用中删除广告的选项,并允许用户在点击它时购买该应用。我知道Windows Phone 8有这样的应用内购买API。有没有人知道关于wp7中的类似api或者以自定义方式为windows phone 7实现类似的东西?

I have a few Windows phone 7 app developed with Windows phone 7.1 SDK. Currently, I'm showing ads in all those free apps. I would like to provide an option to remove ads from the app and allow user to buy the app when they click on it. I know there are such in-app purchase api for windows phone 8. Does anyone know anything about similar api in wp7 or to implement similar thing for windows phone 7 in a custom way?

我看到Rudy Huyn的9gag应用程序( http://www.windowsphone.com/en-us/store/app/9gag/91000c5c-9943-43b8-aa65-7609d91057ef )做到了但我不确定他是怎么做到的。当我点击此应用中的移除广告时,我会转到该应用的付费版本。但是商店里没有单独的两个应用程序,就像我们一样 - 一个应用正常,另一个作为专业版。

I see 9gag app by Rudy Huyn (http://www.windowsphone.com/en-us/store/app/9gag/91000c5c-9943-43b8-aa65-7609d91057ef) does it but I'm not sure how he does it. When I click remove ads in this app it take me to the paid version of the app. But there are no separate two apps in the store, like we do - one app as normal and another as Pro.

任何帮助?

推荐答案

您可以发布试用版应用。这样用户可以免费下载,然后在他们喜欢的时候购买。

You can publish a trial app. This way users can download it for free and then buy if they like it.

在这里你可以找到创建试用版的教程 - http://msdn.microsoft.com/en-us/library/windowsphone /develop/ff967558(v=vs.105).aspx
'

Here you can fin tutorial for creating trial apps - http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff967558(v=vs.105).aspx . ´

现在,我还可以向您展示如何通过购买按钮将用户带到商店以查看应用的列表:

Now I can also show you how to take the user to the Store to see the app's listing with the Buy button:

MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask();
marketplaceDetailTask.Show();

请注意,这只适用于已发布的应用,而不适用于调试(目前还没有在Store)。另外 - 还有更多有用的任务,比如MarketplaceReviewTask,你也可以看看它。

Please note, that this will work only with published app, not in debugging (the listing is not yet there in Store). Also - there are more useful tasks like MarketplaceReviewTask, you can take a look at it too.

更新:
我们想到了第二种方法来保持这一点商店中应用程序的免费状态。基本上,您需要发布免费应用和私人付费应用。现在使用MarketplaceDetailTask​​,您可以通过提供GUID来指向用户付费应用:

UPDATE: We figured a second way to do this while maintaining the free status of the app in store. Basically you need to publish a free app and a private paid app. Now using MarketplaceDetailTask you can point the user to the paid app by supplying it's GUID:

MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask();

marketplaceDetailTask.ContentIdentifier = "PAID-APPS-GUID";
marketplaceDetailTask.ContentType = MarketplaceContentType.Applications;

marketplaceDetailTask.Show();

也就是说,您需要首先发布付费的一个,以找出它的商店GUID然后您可以免费插入公众。

That said, you need to publish the paid one first to find out it's Store GUID that you can then insert into the public free one.

这篇关于有没有办法在Windows Phone 7中实现自定义应用程序升级?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆