开发者

One application, two launcher icons on HTC Sense phones

开发者 https://www.devze.com 2023-01-23 10:38 出处:网络
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

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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消