Android - [Xoom/Honeycomb] application without LAUNCHER activity does not work

后端 未结 2 1858
隐瞒了意图╮
隐瞒了意图╮ 2020-12-16 06:04

I have an application without launcher activity that works properly from Android 1.5 to Android 2.3.4. It is started by my broadcast receiver. However, on Honeycomb (Motorol

2条回答
  •  自闭症患者
    2020-12-16 06:52

    On Android 3.1 and higher, BroadcastReceivers will not be invoked until the user has started the application at least once by some other means, such as launching an activity.

    Since users tend to get very confused by applications that do not have an activity, you really should have had an activity in the first place, for online help if nothing else. With Android 3.1, that is even more important.

提交回复
热议问题