Rating an android app within an application

岁酱吖の 提交于 2019-11-29 08:15:47

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);

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).

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