[android-developers] Re: On ICS, Stopped service can't receive an intent.

2012-08-12 Thread David Woods
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

Re: [android-developers] Re: On ICS, Stopped service can't receive an intent.

2012-02-09 Thread Mark Murphy
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

[android-developers] Re: On ICS, Stopped service can't receive an intent.

2012-02-08 Thread raja
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

[android-developers] Re: On ICS, Stopped service can't receive an intent.

2012-01-30 Thread Johan Appelgren
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@

[android-developers] Re: On ICS, Stopped service can't receive an intent.

2012-01-29 Thread Doug
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