Rate Google Play application directly in app(直接在应用程序中评价 Google Play 应用程序)
问题描述
我需要在我的 android 应用中设置费率选项.
I need to make rate option in my android app.
我发现了这个 链接
但我不确定我是否要搜索.我只想让用户能够在 Google Play 上对我的应用进行评分.
but I'm not sure that want I search. I want to just provide ability for users to rate my app on Google Play.
推荐答案
评分是通过市场应用程序完成的,因此评分可以信任.如果允许应用程序自己处理评级,那么开发人员可以随时操纵应用程序的评级.因此,您无法自己处理评级.您只能提示用户访问您在 Google Play 上的应用页面,并要求他们对您的应用进行评分以获得更多支持.
The rating is done through market app so that ratings can be trusted. If apps were allowed to handle the rating themselves, then the developer could manipulate the app's rating any time. So there is no way you can handle the rating yourself. You can only prompt the user to your app page on Google Play and ask them to rate your app for more support.
使用内置意图启动市场
private void launchMarket() {
Uri uri = Uri.parse("market://details?id=" + getPackageName());
Intent myAppLinkToMarket = new Intent(Intent.ACTION_VIEW, uri);
try {
startActivity(myAppLinkToMarket);
} catch (ActivityNotFoundException e) {
Toast.makeText(this, " unable to find market app", Toast.LENGTH_LONG).show();
}
}
这篇关于直接在应用程序中评价 Google Play 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:直接在应用程序中评价 Google Play 应用程序
基础教程推荐
- 如何从 logcat 中删除旧数据? 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
