Android -- 如何从应用程序内将应用程序评级/评论发布到市场? [英] Android -- How to post app rating/comments to Market from within app?

查看:30
本文介绍了Android -- 如何从应用程序内将应用程序评级/评论发布到市场?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个简单的问题.有没有办法让用户直接在我的应用程序中输入对我的应用程序的评论和/或评分,并将该数据发布回 Android Market?如果是这样,如果我使用 EditText 视图来允许用户输入,那么代码会是什么样子?如果不是,那么我唯一的其他选择是直接链接到我在市场中的应用程序(即用户单击我的应用程序中的链接或按钮,然后市场应用程序启动并显示我的应用程序页面)?例如:

This is a simple question. Is there a way to allow users to enter in a comment and or rating for my app from directly within my app and have that data posted back to the Android Market? If so, what would the code for that look like if I used an EditText view to allow user input? If not, then is my only other option directly linking to my app in the Market (i.e. the user clicks the link in my app, or a button, and the Market app launches with my app page displayed)? For example:

view.setOnClickListener( new OnClickListener(){
    public void onClick(View v) {
        startActivity( new Intent( Intent.ACTION_VIEW,
           Uri.parse("market://details?id=packagename") ) );
    }
}

*其中packagename"替换为清单中我的应用程序包名称.

*where "packagename" is replaced by my app's package name from the manifest.

谢谢.

推荐答案

我觉得暂时不会有市场准入.这将需要进一步的特殊应用程序权限(下载、购买、评分),因为您的应用程序随后可以下载市场上的任何应用程序并对其进行评分.

I think there will not be market access for a while. That would need further special application permissions (donwload, buy, rate) as your app then could download and rate any app in the market.

由于有很多基于用户没有阅读他们接受的权限这一事实的 Android 安全投诉,我认为 Google 不会那么快地公开市场,而是通过一个知名的市场应用程序引导用户.

As there are many security complaints an Android based on the fact that users doesn't read the Permissions they accept, I think Google would not expose the market that fast but channel the users through one well known market app.

这篇关于Android -- 如何从应用程序内将应用程序评级/评论发布到市场?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆