软件包安装后显示消息

发布于 2024-10-02 08:30:21 字数 257 浏览 0 评论 0原文

我开发了一个 Android-Homescreen-Widget 并遇到了一个奇怪的问题:市场中的“打开”按钮呈灰色,因为实际上没有要启动的应用程序。所以,很多人抱怨是因为他们没有意识到我的包是一个小部件。他们甚至给了我一个不好的评价,我想通过给人们一个提示他们应该做什么来避免这种情况。描述中的第一行提示(大写)根本没有帮助,所以我正在寻找更好的解决方案。

是否可以在安装后直接显示消息android-market 中的软件包?

I developed a Android-Homescreen-Widget and got a weird problem: The "Open"-Button in the Market grayed out because there is actually no Application to launch. So, many people complain because they don't realize that my package is a widget. They even give me a bad rating and I want to avoid that by giving the people a hint what they should do. A first-line-hint in the description (written in Uppercase) didn't help at all, so I'm searching for a better solution.

Is it possible to display a message directly after the installation of a package in the android-market?

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

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

发布评论

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

评论(2

一生独一 2024-10-09 08:30:21

我能找到的最好的解决方案是创建一个新的活动,并添加一个意图过滤器,如下所示:

        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.INFO" />
        </intent-filter>

这不会在启动器中创建图标,而是使市场中的“打开”按钮处于活动状态,并且单击时将启动活动。

The best solution I could find is to create a new Activity, and add an intent-filter like this:

        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.INFO" />
        </intent-filter>

This does not create a icon in the launcher but makes the Open-Button in the Market active and the Activity gets launched when clicked.

暖树树初阳… 2024-10-09 08:30:21

像 BeautifulWidget 这样的应用程序是一个可以启动的应用程序,它只显示如何安装小部件的说明。浪费空间,但有些人如果不用手确实无法理解小部件。

Apps like BeautifulWidget make an application that you can launch that just shows instructions on how to install the Widget. A waste of space, but some people out there really just don't understand widgets without hand holding.

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