他们是查看我的 Android 应用程序的直接链接(不在其中)

发布于 2024-12-13 20:06:50 字数 136 浏览 0 评论 0原文

有很多关于用户如何在应用程序内评价我的应用程序的问答, 但我需要只是一个直接链接来评论\评价我的应用程序以通过邮件发送给用户而不是市场上我的应用程序页面,因为他需要点击评论然后登录,然后撰写评论这很累而且对用户不友好。

tnx

there a lot of q&a about how users can rate my app within the app,
but i need just a direct link to review\rate my app to send the user by mail and not to my app page in the market because there he need to cilck review then login and then write the review and this is exhausting and not user friendly.

tnx

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

墨小墨 2024-12-20 20:06:50

为了不使用烦人的表单打扰用户,您可以添加一个菜单项,让用户通过 Google Play 中的应用程序网站对应用程序进行评分。用户单击此选项后,不应再次显示此选项(即使用户最终没有对应用程序进行评分)。在我看来,这个解决方案非常用户友好。

添加这样的菜单项(在 res\menu[menu].xml 中):

<menu xmlns:android="http://schemas.android.com/apk/res/android" >

(other options...) 

<item android:id="@+id/MenuRateApp" android:title="@string/menu_Rate_app"
  android:icon="@drawable/ic_menu_star"></item>
</menu>

在您的主要活动中添加以下内容,以便在用户已经对您的应用程序进行评分后隐藏该选项:

@Override
public boolean onPrepareOptionsMenu(Menu menu)
{
    MenuItem register = menu.findItem(R.id.MenuRateApp);      
    if(fApp.isRated()) {
        register.setVisible(false);
    }
    return true;
}

更改 fApp.isRated() 用于保留布尔值的方法或变量,表示用户是否已对应用程序进行评分(使用sharedPreferences机制写入和读取该值)。

将用户重定向到 Google Play 中的应用程序网站的代码可能如下所示:

private boolean MyStartActivity(Intent aIntent) {
try {
    startActivity(aIntent);
    return true;
} catch (ActivityNotFoundException e) {
    return false;
}
}

@Override
public boolean onOptionsItemSelected(MenuItem item) {

    (other options code...)

    if (item.getItemId() == R.id.MenuRateApp) {
    //Try Google play
        Intent intent = new Intent(Intent.ACTION_VIEW);
        intent.setData(Uri.parse("market://details?id="+getPackageName()));
        if (MyStartActivity(intent) == false) {
            //Market (Google play) app seems not installed, let's try to open a webbrowser
            intent.setData(Uri.parse("https://play.google.com/store/apps/details?id="+getPackageName()));
            if (MyStartActivity(intent) == false) {
                //Well if this also fails, we have run out of options, inform the user.
                Toast.makeText(this, this.getString(R.string.error_no_google_play), Toast.LENGTH_LONG).show();
            }
        }
        //Do not disturb again (even if the user did not rated the app in the end)
        fApp.setRated(true);
    }

  return super.onOptionsItemSelected(item);
}

希望此解决方案能够满足您的要求。

注意:部分代码借自此站点:

http://martin.cubeactive.com/android-how-to-create-a-rank-this-app-button/

示例:
在此处输入图像描述

In order not to disturb the user with annoying forms you can add a menu item that let the user rate the application through your application site in google play. After the user click in this option, this should not been showed again (even if the user did not rate the app at the end). This solution is quite user friendly, in my opinion.

Add a menu item like this (in res\menu[menu].xml):

<menu xmlns:android="http://schemas.android.com/apk/res/android" >

(other options...) 

<item android:id="@+id/MenuRateApp" android:title="@string/menu_Rate_app"
  android:icon="@drawable/ic_menu_star"></item>
</menu>

In your main activity add the following in order to hide the option once the user has already rated your app:

@Override
public boolean onPrepareOptionsMenu(Menu menu)
{
    MenuItem register = menu.findItem(R.id.MenuRateApp);      
    if(fApp.isRated()) {
        register.setVisible(false);
    }
    return true;
}

Change the fApp.isRated() for a method or variable that keep a boolean saying if the user already rated the app (write and read this value using the sharedPreferences mechanism).

The code to redirect the user to your app site in Google Play could be like the following:

private boolean MyStartActivity(Intent aIntent) {
try {
    startActivity(aIntent);
    return true;
} catch (ActivityNotFoundException e) {
    return false;
}
}

@Override
public boolean onOptionsItemSelected(MenuItem item) {

    (other options code...)

    if (item.getItemId() == R.id.MenuRateApp) {
    //Try Google play
        Intent intent = new Intent(Intent.ACTION_VIEW);
        intent.setData(Uri.parse("market://details?id="+getPackageName()));
        if (MyStartActivity(intent) == false) {
            //Market (Google play) app seems not installed, let's try to open a webbrowser
            intent.setData(Uri.parse("https://play.google.com/store/apps/details?id="+getPackageName()));
            if (MyStartActivity(intent) == false) {
                //Well if this also fails, we have run out of options, inform the user.
                Toast.makeText(this, this.getString(R.string.error_no_google_play), Toast.LENGTH_LONG).show();
            }
        }
        //Do not disturb again (even if the user did not rated the app in the end)
        fApp.setRated(true);
    }

  return super.onOptionsItemSelected(item);
}

Hope this solution feets your requirements.

Note: part of the code has been borrowed from this site:

http://martin.cubeactive.com/android-how-to-create-a-rank-this-app-button/

Example:
enter image description here

倾听心声的旋律 2024-12-20 20:06:50

从你开始的前提出发,说对应用进行评级令人筋疲力尽且对用户不友好是不适用的,因为用户只有在愿意将自己生命中的 30 秒“捐赠”给你的应用时才应该对你的应用进行评级。评价您的应用程序。在评价其他人的工作时,所涉及的责任最低

由于还涉及道德规范,我最想做的就是在我的应用程序的“关于”部分中提供一个按钮,其中包含指向包含我的应用程序的市场应用程序屏幕的链接,使用市场的意图 (搜索 StackOverflow)。其他应用程序不断要求用户评分...我觉得这很麻烦,但至少他们没有将我直接推向市场的编辑和加星视图。

您需要问自己的问题:您是否需要通过自动停止活动并在 Market 应用程序中显示此“oh-my-gosh-rate-my-app”视图来破坏应用程序的用户体验?

您不需要将用户推入这种情况...很可能您最终会得到较低的评分而不是良好的评分。就因为这个我才会摘一颗星。 :-)

就我个人而言,我不会这样做并保持原样。当然是我的 2 美分。

The premise from where you start, saying that rating an app is exhausting and not user friendly is not applicable because the user should only rate your app when he is willing to "donate" 30 seconds of his life to rate your app. There is a minimal responsibility involved when rating other people work.

The farthest I'd go, since there are also ethics involved, is providing a button in the About section of my app with a link to the Market app screen containing my app, using an Intent to the market (search StackOverflow). Other apps constantly ask a user to rate... I find it bothersome, but at least they are not pushing me right into the Edit and star Views of the Market.

The question you need to ask yourself: do you need to disrupt the user experience of your app by automatically stopping the activity and displaying this "oh-my-gosh-rate-my-app" view in the Market app?

You don't need to push the user into that situation... chances are you will end up with more low ratings than good ratings. I'd take one star just because of that. :-)

Personally, I wouldn't do it and leave the way it is. My 2 cents, of course.

别把无礼当个性 2024-12-20 20:06:50

根据我发布的类似问题,我正在寻找的所需答案是,

https://play.google.com/store/apps/details?id= + your.package.name

如果您想要链接的话,这应该是您正在寻找的答案。第一部分是默认的启动器,第二部分是您的包名称。

Based on a similar question I posted, the desired answer I was looking for was

https://play.google.com/store/apps/details?id= + your.package.name

This should be what you're looking for if a link is what you have in mind. The first part is the default starter, and the second part will be your package name.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文