简体   繁体   English

如何制作Google Play捐赠应用程序以附加到免费版本?

[英]How can I make a donation app for google play to attach to the free version?

I have a app on the Google Play and I want to add a donation app. 我在Google Play上有一个应用,我想添加一个捐赠应用。 I could just put the same game on the market that's modified to say donation version but They wont have there saves from the free version. 我可以把修改过的捐赠版本的游戏放到市场上,但是他们不会从免费版本中省钱。 Is there a way for me to just create a .apk that apon run it will change say a boolean donated = true in the free version and then hide itself from app list. 有没有办法让我创建一个.apk来运行,它将在免费版本中更改为boolean donated = true,然后将其自身从应用列表中隐藏。 Or is there a way more easy way to do this? 还是有一种更简单的方法来做到这一点?

You can share data between applications ie using sd card, named preferences, content providers. 您可以在应用程序之间共享数据,即使用SD卡,命名的首选项,内容提供商。 Other way to solve your problem is using in-app payments. 解决问题的另一种方法是使用应用内付款。 The adventage is, that you do not need to mantain 2 code branches for free/paid apps. 这种做法是,您不需要为免费/付费应用程序保留2个代码分支。 If we are talking about payments - take a look at Google Play's policy - in general they do not allow using other (cheaper) "payment processors". 如果我们在谈论付款-请查看Google Play的政策-通常,它们不允许使用其他(更便宜的)“付款处理者”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM