简体   繁体   English

测试用户是否在可以购买付费应用的国家/地区

[英]Test if a user is in a country that can buy paid apps

I want to refer users of an Android application to try out another app. 我想引用Android应用程序的用户来试用另一个应用程序。 The other app is a paid app and I only want to refer them to the app if they could possibly purchase it. 另一个应用程序是一个付费应用程序,我只想将它们推荐给应用程序,如果他们可能购买它。 How do I test if the user is in a country that supports purchasing paid apps through the play store? 如何测试用户是否位于支持通过Play商店购买付费应用的国家/地区?

Priced application are only available in these countries. 定价应用仅适用于这些国家/地区。 Get the country from user and match it from the list to find out if paid apps are supported or not. 从用户获取国家/地区并从列表中进行匹配,以查看是否支持付费应用。

It's not official. 这不是官方的。 But you could use old Android Market API . 但您可以使用旧的Android Market API Completely not sure if it works. 完全不确定它是否有效。

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

相关问题 Google Checkout在我的国家/地区不可用,我如何在GooglePlay中宣传付费应用? - Google checkout not available in my country, how can i publicate paid apps in GooglePlay? 如何制作“免费”和“付费”的风味应用程序,购买付费版本会删除免费版本 - How can I make “free” and “paid” flavour apps, where buying the paid version deletes the free version 如何销售与图书捆绑的付费应用程序? - How can I sell paid apps bundled with a book? 付费应用需要许可吗? - Is licensing required for paid apps? 如何从 Google Play 获取用户下载的应用程序列表(付费/免费)? - How to get list of downloaded apps (paid/free) by a user from Google Play? 免费上传Playstore免费和付费应用程序 - Upload playstore free and paid application country wise 在应用程序购买的移动应用程序中,如何在重新安装应用程序时发现用户已付款? - In app purchased mobile apps, how do I find out the user has paid for it when the app is reinstalled? 注册:发布付费android应用 - Reg : publishing paid android apps 用户购买专业版Android应用程序时如何保留免费版本数据 - how to keep free version data when user buy pro version of android apps Android应用程序在一个国家/地区的本地化 - Android apps localization in a country
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM