Detect if the user rated the app in Android(检测用户是否在 Android 中对应用进行评分)
问题描述
最近我读到一篇关于市场上一款游戏的文章(我不会给出名字,因为我认为这种做法对 Android 是负面的,不想宣传它)如果你不允许更新尚未在市场上评级为 5 星.
Recently I read a article about a game in the market (I won't give the name because I think it that practices are negative for Android and don't want to publicize it) that don't allow to update if you have not rated 5 stars in the market.
这就是文章所说的,我想知道这是否可以检测到,如果可以,该怎么做(我只需要知道用户是否对应用进行了评分,不需要分数)
Thats what the article says and I'd like to know if that is detectable and if yes how to do it (I only need to know if the user rated the app, don't need the score)
谢谢
推荐答案
最近我读到一篇关于市场上一款游戏的文章(我不会给出名字,因为我认为这种做法对 Android 是负面的,不想宣传它)如果你不允许更新尚未在市场上评级为 5 星.
Recently I read a article about a game in the market (I won't give the name because I think it that practices are negative for Android and don't want to publicize it) that don't allow to update if you have not rated 5 stars in the market.
如前所述,这是不可能的.应用程序无法阻止自身被更新.现在,它有可能在下次运行时检测到更新,然后采取一些措施.
This is not possible as described. An application cannot prevent itself from being updated. Now, it is possible that it can detect the update when it is next run and then take some action.
我想知道这是否可以检测到,如果可以,该怎么做
I'd like to know if that is detectable and if yes how to do it
没有记录和支持的方法来执行此操作.如果它可能在 root 电话之外,我会感到震惊 - 否则这是一个安全漏洞.
There is no documented and supported means of doing this. I'll be stunned if it is possible outside of rooted phone -- it's a security flaw otherwise.
这篇关于检测用户是否在 Android 中对应用进行评分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:检测用户是否在 Android 中对应用进行评分


- Jersey REST 客户端:发布多部分数据 2022-01-01
- C++ 和 Java 进程之间的共享内存 2022-01-01
- Safepoint+stats 日志,输出 JDK12 中没有 vmop 操作 2022-01-01
- Java包名称中单词分隔符的约定是什么? 2022-01-01
- 从 finally 块返回时 Java 的奇怪行为 2022-01-01
- value & 是什么意思?0xff 在 Java 中做什么? 2022-01-01
- Spring Boot连接到使用仲裁器运行的MongoDB副本集 2022-01-01
- 将log4j 1.2配置转换为log4j 2配置 2022-01-01
- Eclipse 插件更新错误日志在哪里? 2022-01-01
- 如何使用WebFilter实现授权头检查 2022-01-01