Rating an android app within an application

对着背影说爱祢 提交于 2019-12-18 05:12:26

问题


I am trying to have the functionality where I can allow the users to rate my app from my application. I am not concentrating on the usual android market pointing and then doing it. Instead I want my application to have direct rating system.

I am pretty sure that this can be done i iPhone, but any one knows to do in android?


回答1:


This is how we can rate an app, the one suggested in the android official site.

  Intent intent = new Intent(Intent.ACTION_VIEW);
  intent.setData(Uri.parse("market://details?id=com.test(This is the package name)"));
  startActivity(intent);



回答2:


An app can't rate itself, only the user can do so; this approach reduces abuse. Apps normally ask them to go to Android Market to rate them, as they reduce the abuse factor. In one app, however, I've been told that I will get a bonus if I rate that app a certain way (for example, five stars).



来源:https://stackoverflow.com/questions/7431823/rating-an-android-app-within-an-application

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!