Tuesday, March 20, 2012

Re: [android-developers] Android 4.0 Start service on reboot

Your code probably does work on 4.0.

However, the user will have to launch one of your activities before
you will start to receive any broadcasts, including BOOT_COMPLETED:

http://commonsware.com/blog/2011/07/13/boot-completed-regression-confirmed.html

On Tue, Mar 20, 2012 at 1:00 AM, Johnny <jalirez@gmail.com> wrote:
> Hello,
>
> Does anyone have a code example of starting a service with a broadcast
> receiver using Android 4.0. Right now the same code that works on
> Android Honeycomb does not work on 4.0. This code is a simple xml
> based broadcast receiver.
>
> Thanks in advance!
>
> --
> 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@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

--
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@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment