Thursday, December 20, 2012

Re: [android-developers] Re: RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

I have a similar issue. My users on Samsung Galaxy S 3 report that after reboot, my app's alarms don't work anymore.

On my nexus one and other tested devices, everything works OK after reboot.

What would be the solution for this?

On Monday, February 7, 2011 12:18:52 AM UTC+2, Kostya Vasilyev wrote:

If it really is hibernation (as opposed to a reboot), then alarms *should* persist, and there should be no need to reset them. Anyone have one of those and willing to check?

--
Kostya Vasilyev -- http://kmansoft.wordpress.com

07.02.2011 1:07 пользователь "Peter Sinnott" <psin...@gmail.com> написал:
> I think the newer HTC phones (Desire HD/Z) support hibernation of some
> sort. I have a vague recollection of it being mentioned at a launch
> event in London.
>
> On Feb 4, 11:31 am, Yorgos X <yor...@gmail.com> wrote:
>> Mysteriously enough (new phone, haven't explored it much), a setting was
>> preset to fast boot the device (is called "Fast boot - turn off to use some
>> Market apps") and this apparently causes the device to start after a power
>> off without sending the BOOT_COMPLETED action. Can any of you test this on
>> their devices to confirm it is happenning for a fact? I unchecked this
>> setting and my receiver works on both power off/startup and restart.
>>
>> On Fri, Feb 4, 2011 at 1:15 PM, Yorgos X <yor...@gmail.com> wrote:
>> > yeah, i have checked the logs and thre is no indication of the app starting
>> > or the action boot_completed received. the sd is not mounted neither when
>> > the app is installed or at anytime during the testing process. As I've said
>> > before, on other devices that only provide "power off" functionality and not
>> > bot power off and restart, when I power off and then start up again, the
>> > action is received normally. On my phone it works well on restarting but not
>> > when powering off and then starting.
>>
>> > On Fri, Feb 4, 2011 at 1:09 PM, Marcin Orlowski <webnet.andr...@gmail.com>wrote:
>>
>> >> 2011/2/4 Yorgos X <yor...@gmail.com>:
>> >> > well, i run it from eclipse to install it and then restart and power off
>> >> the
>> >> > phone to test if it works. Are the apps run straight from eclipse stored
>> >> on
>> >> > the SD card? i don't know about that to be honest. I haven't done that
>> >> > explicitly though
>>
>> >> No, they are run from internal memory, so that shall be fine.
>>
>> >> --
>> >> You received this message because you are subscribed to the Google
>> >> Groups "Android Developers" group.
>> >> To post to this group, send email to android-d...@googlegroups.com
>> >> To unsubscribe from this group, send email to
>> >> android-developers+unsubscribe@googlegroups.com<android-developers%2Bunsubscribe@googlegroups.com>
>> >> For more options, visit this group at
>> >>http://groups.google.com/group/android-developers?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-d...@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

--
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