问题描述
我需要在我的 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 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!


大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)