安卓:android.intent.action.BOOT_COMPLETED对ICS和姜饼 [英] Android : android.intent.action.BOOT_COMPLETED on ICS and Gingerbread

查看:90
本文介绍了安卓:android.intent.action.BOOT_COMPLETED对ICS和姜饼的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

结果我的应用程序是听android.intent.action.BOOT_COMPLETED ..


My application is listening to android.intent.action.BOOT_COMPLETED..

Android版本:2.3

Android :2.3

我能够得到广播时,我的应用程序的关机/主动开机前的。

i am able to get the broadcast when my application is Shut/Active before Boot up.

结果安卓4.0.3

我的不可以能够得到广播时,我的应用程序的关闭(强制关闭)了。
原因是在此链接

I am not able to get the broadcast when my application is Shut(Force Close) before Boot up. Reason is as in this link

3.1开始时安装的应用程序中,使他们将无法运行,直到用户明确地启动它们已停止状态,他们是。 pressing强制停止将其返回到这个状态。

Starting with 3.1 when applications are installed they are in a "stopped" state so they will not be able to run until the user explicitly launches them. Pressing Force Stop will return them to this state.

我怎么到这儿来这?我想获得广播android.intent.action.BOOT_COMPLETED当应用程序被关闭为好。

How do i Over Come this??I want to get the broadcast android.intent.action.BOOT_COMPLETED when the application is Shut as well.

请帮助!

推荐答案

的唯一方法是,用户应该明确地打开您的应用。

The only way is that user should open your app explicitly.

这篇关于安卓:android.intent.action.BOOT_COMPLETED对ICS和姜饼的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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