软件包安装后显示消息
我开发了一个 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我能找到的最好的解决方案是创建一个新的活动,并添加一个意图过滤器,如下所示:
这不会在启动器中创建图标,而是使市场中的“打开”按钮处于活动状态,并且单击时将启动活动。
The best solution I could find is to create a new Activity, and add an intent-filter like this:
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.像 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.