本文介绍了Android Market 上的免费和付费版本的 APK 相同吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在 Google 的 Android Market 中列出 免费和付费版本的单个 APK?

Is it possible to list in Google's Android Market a single APK for both free and paid versions?

到目前为止,我只找到了 这个技巧 在免费版本中创建一个链接到付费版本的按钮,但 IIUC 这些仍然是 2 个独立的 APK.

So far, I only found this tip to create a button in the free version that links to the paid versions, but IIUC these are still 2 separate APKs.

我还找到了参考来创建来自相同代码的免费/付费版本,但仍指 2 个单独的 APK.

I also found a reference to creating free/paid versions from same code, but that still refers to 2 separate APKs.

我感兴趣的是一种(谷歌)Android Market 方式来提供类似于 PayPal 的 MPL 的功能(即一个应用程序完成所有工作).这可能吗?

What I am interested in is an (Google) Android Market way to provide functionality that is similar to PayPal's MPL (i.e. one app does it all). Is this possible?

根据以下答案,似乎 Google 的 应用内结算 促进了这一点.

Based on the answer below, it seems that Google's In-App Billing facilitates this.

但是,LVL 的要求和限制说:

许可目前适用于付费应用仅,因为考虑了免费应用程序授权给所有用户.如果你的应用程序已发布为免费,您将无法上传使用许可的新版本.

我知道 LVL 与应用内结算不同,但应用内结算绝对需要 LVL(如果仅用于使用密钥).那么这如何协调?

I know that LVL is not the same as In-App Billing but LVL is definitely required for In-App Billing to work (if only for using the key). So how does this reconcile?

推荐答案

可以使用 在应用产品中.最小 API 是 1.6,它应该可以很好地工作.基本上,任何人都可以下载代码,但如果需要购买新功能,可以解锁一些功能.他们还有示例代码,展示了它是如何工作的.

It's possible to use something known as in app products. The min API is 1.6, which should work plenty well. Basically, anyone could download the code, but some unlocking of features could be done if desired to buy new functionality. They also have sample code which shows how it works.

或者,您可以使用许可 API,只需检查您的应用是否已获得许可.但是,这将需要不同的包名称,就像所有应用程序一样.

Alternatively, you could use the licensing API, and simply check to see if your app is licensed. This would require a different package name, however, as all apps do.

这篇关于Android Market 上的免费和付费版本的 APK 相同吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 11:54