HTC Sense 手机上的一个应用程序、两个启动器图标
我希望我的应用程序有多个启动器图标。只需将以下内容添加到 Activity 定义中,我就可以在某些手机上正常工作。
<intent-filter>
<action
android:name="android.intent.action.MAIN" />
<category
android:name="android.intent.category.LAUNCHER" />
</intent-filter>
不幸的是,这似乎不适用于 HTC Sense 手机 - 我只是得到像这样声明的第一个 Activity。
有人知道如何为 HTC Sense 执行此操作吗?
菲尔
I want to have multiple launcher icons for my application. I can get this to work fine on some phones simply by adding the following to the Activity definitions
<intent-filter>
<action
android:name="android.intent.action.MAIN" />
<category
android:name="android.intent.category.LAUNCHER" />
</intent-filter>
Unfortunately this doesn't appear to work for HTC Sense phones - I just get the first Activity declared like this.
Anyone know how to do this for HTC Sense too?
Phil
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,我只是很愚蠢(当我在 stackoverflow 上问问题时似乎总是这样)。我卸载了该应用程序并重新安装,然后出现了丢失的图标。
菲尔
OK, I was just being dumb (always seems to be the case when I ask a question on stackoverflow). I uninstalled the app and re-installed it and the missing icons appeared.
Phil