On Wed, Oct 12, 2011 at 4:41 AM, ranjit R <[email protected]> wrote:
> I need to trigger a broadcast receiver  when it starts to reboot/
> reboots not when boot_completed .

As the documentation says, ACTION_REBOOT "is only for use by system
code". You are not system code, in all likelihood. Since the device
may be in an unstable state by the time you get this broadcast anyway,
whatever you are trying to do may be unreliable. I humbly suggest that
you come up with an alternative plan for whatever it is you are trying
to do.

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

Reply via email to