Use this flag:
intent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES);
On Tuesday, January 24, 2012 12:30:06 AM UTC-5, Ravi Pandey wrote:
>
> I have tried to design a Service in such a way that once it's receiver
> can receive the BOOT_COMPLETED intent , the service gets started.
> Basically t
Your app will not run until the user launches one of your activities.
On Thu, Feb 9, 2012 at 1:32 AM, raja wrote:
> I also counter similar issue lately.
> I'm writing a service.
> I claim a receiver in the AndroidManifest to receive boot complete
> event.
> When receiving the it, i would start th
I also counter similar issue lately.
I'm writing a service.
I claim a receiver in the AndroidManifest to receive boot complete
event.
When receiving the it, i would start the service i wrote.
in GB, it works ok.
Under ics, if i install the apk, the receiver cannot receive any
intent.
If I push the
You're probably running into this behavior introduced in Android 3.1
http://developer.android.com/sdk/android-3.1.html#launchcontrols
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@
To be honest, I wouldn't expect a service that is not started to
receive anything. This is the same expectation that I would have
about an activity that has not yet been created or has been
destroyed.
I would expect, however, a broadcast receiver registered in my
manifest to receive valid intent
5 matches
Mail list logo