1.接入评论调起 vivo 应用商店能力后,可以引导你的用户前往你的 app 在 vivo 应用商店的详情页,进行评论和评分。
2.使用方法
String url = market://details?id=${pkg}&th_name=${caller_pkg}
Uri uri = Uri.parse(url);
Intent intent= new Intent(Intent.ACTION_VIEW,uri);
intent.setPackage(“com.bbk.appstore”);
startActivity(intent);
id:待下载资源包名
caller_pkg:调用者包名;如需调起详情页评论窗口,请将该字段改为“need_comment”,即“&th_name=need_comment”
如果配置了is_auto_down参数,将不会调起详情页评论窗口
网页调起应用详情页方法如下:
location.href = 'market://details?id=pkg&th_name=caller_pkg';