BOOT_COMPLETED意图上的所有设备没有收到 [英] BOOT_COMPLETED intent not received on all devices

查看:409
本文介绍了BOOT_COMPLETED意图上的所有设备没有收到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了接收使用下面的过滤器的接收器内BOOT_COMPLETED应用程序:

I have created an application that receives BOOT_COMPLETED within a receiver using the following filter:

<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />

我收到这台设备上,但我并不尽管使用相同的APK收到此另一个设备。什么设备特定问题可以prevent接收这个目的的特定设备?有什么办法来测试这一点,并创建一个补救措施?

I receive this on one device but I have another device that does not receive this despite using the same APK. What device-specific issues could prevent a particular device from receiving this intent? Is there any way to test for this and create a remedy?

推荐答案

Android的3.1后,某些设备不会给BOOT_COMPLETED接收器后,该应用程序的控制。

Some devices after Android 3.1 will not give the app control after the BOOT_COMPLETED receiver.

谷歌一直表示,用户应该从发射第一个推出一个活动,
在此之前,应用程序可以去做了。 preventing被BOOT_COMPLETED
输送直到第一活动启动是相同的逻辑延伸
参数。

Google has long said that users should launch an activity from the launcher first, before that application can go do much. Preventing BOOT_COMPLETED from being delivered until the first activity is launched is a logical extension of the same argument.

我不知道它使一个区别的设备。

I do not know which devices it makes a difference on though.

这篇关于BOOT_COMPLETED意图上的所有设备没有收到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆